forked from LeenkxTeam/Leenkx_Examples
update
This commit is contained in:
0
network_zui_chat/Bundled/canvas/MainCanvas.files
Normal file
0
network_zui_chat/Bundled/canvas/MainCanvas.files
Normal file
1
network_zui_chat/Bundled/canvas/MainCanvas.json
Normal file
1
network_zui_chat/Bundled/canvas/MainCanvas.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"untitled","x":0,"y":0,"width":1280,"height":720,"theme":"Default Light","elements":[{"id":4,"type":12,"name":"chatBackground","event":"","x":0,"y":-160,"width":420,"height":60,"rotation":0,"text":"","asset":"","progress_at":0,"progress_total":100,"strength":1,"alignment":0,"anchor":4,"parent":null,"children":[],"visible":true,"color":-14145496},{"id":0,"type":0,"name":"chatStatus","event":"","x":-20,"y":-220,"width":420,"height":30,"rotation":0,"text":"CHAT: Disconnected","asset":"","progress_at":0,"progress_total":100,"strength":1,"alignment":0,"anchor":4,"parent":null,"children":[],"visible":true,"color_text":null},{"id":1,"type":0,"name":"chatMsg","event":"","x":0,"y":-180,"width":420,"height":20,"rotation":0,"text":"...","asset":"","progress_at":0,"progress_total":100,"strength":1,"alignment":0,"anchor":4,"parent":null,"children":[],"visible":true,"color_text":null},{"id":2,"type":2,"name":"chatSend","event":"","x":160,"y":-100,"width":104,"height":44,"rotation":0,"text":"SEND","asset":"","progress_at":0,"progress_total":100,"strength":1,"alignment":1,"anchor":4,"parent":null,"children":[],"visible":true,"color_text":null,"color":null,"color_hover":null,"color_press":null},{"id":3,"type":10,"name":"chatInput","event":"","x":-60,"y":-100,"width":300,"height":48,"rotation":0,"text":"","asset":"","progress_at":0,"progress_total":100,"strength":1,"alignment":0,"anchor":4,"parent":null,"children":[],"visible":true,"color_text":null,"color":null,"color_hover":null}],"assets":[]}
|
||||
1
network_zui_chat/Bundled/canvas/_themes.json
Normal file
1
network_zui_chat/Bundled/canvas/_themes.json
Normal file
@ -0,0 +1 @@
|
||||
[{"NAME":"Default Light","WINDOW_BG_COL":-1052689,"WINDOW_TINT_COL":-14540254,"ACCENT_COL":-1118482,"ACCENT_HOVER_COL":-4473925,"ACCENT_SELECT_COL":-5592406,"BUTTON_COL":-3355444,"BUTTON_TEXT_COL":-14540254,"BUTTON_HOVER_COL":-5000269,"BUTTON_PRESSED_COL":-5131855,"TEXT_COL":-6710887,"LABEL_COL":-5592406,"SEPARATOR_COL":-6710887,"HIGHLIGHT_COL":-14656100,"CONTEXT_COL":-5592406,"PANEL_BG_COL":-5592406,"FONT_SIZE":26,"ELEMENT_W":200,"ELEMENT_H":48,"ELEMENT_OFFSET":8,"ARROW_SIZE":10,"BUTTON_H":44,"CHECK_SIZE":30,"CHECK_SELECT_SIZE":16,"SCROLL_W":12,"TEXT_OFFSET":16,"TAB_W":24,"FILL_WINDOW_BG":false,"FILL_BUTTON_BG":true,"FILL_ACCENT_BG":false,"LINK_STYLE":0,"FULL_TABS":false}]
|
||||
21
network_zui_chat/README.md
Normal file
21
network_zui_chat/README.md
Normal file
@ -0,0 +1,21 @@
|
||||
Simple Network Zui Chat Example:
|
||||
|
||||
- Red nodes are for system host targets
|
||||
- Teal nodes are for system and html browser client targets
|
||||
|
||||
** If you plan on using 3rd party server / client configuration please keep in mind our nodes use bytes and buffers even for regular strings
|
||||
|
||||
** Once a buffer is read it is not accessible any more, meaning if a msg parser node matches the same API field the buffer will be read and converted back into its data type
|
||||
|
||||
** Both host nodes and client nodes are allowed on the same node tree however browser html targets are not capable of being hosts. A browser cannot create/listen to TCP/UDP ports) so any host related nodes will be ignored when targeting html browsers
|
||||
|
||||
** System server *targets (like hashlink C for desktop/mobile) are intended to basically turn your desktop/mobile device into a server to which you can connect to with either another client instance on desktop/mobile or with a browser instance only as a client.
|
||||
|
||||
```
|
||||
C targets = host / client
|
||||
Browser = only client
|
||||
Krom = N/A (for now)
|
||||
```
|
||||
|
||||
Introduction to Networking in Leenkx 3D | Overview of all nodes
|
||||
https://www.youtube.com/watch?t=135&v=ZmaG_JFmn0Q&feature=youtu.be
|
||||
BIN
network_zui_chat/network_zui_chat.blend
Normal file
BIN
network_zui_chat/network_zui_chat.blend
Normal file
Binary file not shown.
Reference in New Issue
Block a user