Edit of asset "GenosDB for Godot" Accepted
| Old/Current | New/Edit | |
|---|---|---|
| Title | GenosDB for Godot | |
| Description |
Serverless peer-to-peer multiplayer for Godot games exported to the Web, powered by GenosDB (https://github.com/estebanrfp/gdb): WebRTC data channels plus a reactive, persistent graph database that runs entirely in the browser. No backend, no signaling server to run. Web only: P2P works on the HTML5/Web export. On desktop the API is a safe no-op, so the same code runs everywhere (single-player in the editor, multiplayer on the Web). The API mirrors GenosDB, so using this plugin teaches the real GenosDB API: Net.join(name, [relays]) -> gdb(name, {rtc:{relayUrls}}) Net.send(data) -> channel.send(...) ephemeral -> signal message(id, data) Net.put(data, id) -> db.put(node, id) graph -> signal graph_changed(id, action, data) Net.remove(id), Net.map(query); signals peer_join / peer_leave Setup is 3 steps: copy addons/godot_genosdb, enable the plugin, export to Web. The plugin auto-registers the "Net" autoload and auto-injects the JS bridge (loaded from a CDN) into index.html. No manual HTML editing, nothing to bundle. New in 0.2.0: custom Nostr relay support fixed and documented (pass your own relays to join), and the bundled demo is now a full cozy co-op farm — 4-directional animated farmer with axe chopping, trees that regrow, a race-free shared wood counter, P2P chat with speech bubbles, a shared-world Reset button (db.remove), CC0 pixel-art tileset, sound effects and ambient music. Every mechanic maps to a real GenosDB call. Live demo (open it in two browser tabs): https://estebanrfp.github.io/godot-genosdb/ Every tab is another farmer in the same shared world: trees fall in every window (and stay fallen for late-joiners via the persistent graph), the wood counter matches everywhere, and chat bubbles pop over each player. Renderer: GL Compatibility recommended. Demo art & audio are CC0 (see CREDITS.md). |
Serverless peer-to-peer multiplayer for Godot games exported to the Web, powered by GenosDB (https://github.com/estebanrfp/gdb): WebRTC data channels plus a reactive, persistent graph database that runs entirely in the browser. No backend, no signaling server to run. Web only: P2P works on the HTML5/Web export. On desktop the API is a safe no-op, so the same code runs everywhere (single-player in the editor, multiplayer on the Web). The API mirrors GenosDB, so using this plugin teaches the real GenosDB API: Net.join(name, [relays]) -> gdb(name, {rtc:{relayUrls}}) Net.send(data) -> channel.send(...) ephemeral -> signal message(id, data) Net.put(data, id) -> db.put(node, id) graph -> signal graph_changed(id, action, data) Net.remove(id), Net.map(query); signals peer_join / peer_leave Setup is 3 steps: copy addons/godot_genosdb, enable the plugin, export to Web. The plugin auto-registers the "Net" autoload and auto-injects the JS bridge (loaded from a CDN) into index.html. No manual HTML editing, nothing to bundle. New in 0.2.0: custom Nostr relay support fixed and documented (pass your own relays to join), and the bundled demo is now a full cozy co-op farm — 4-directional animated farmer with axe chopping, trees that regrow, a race-free shared wood counter, P2P chat with speech bubbles, a shared-world Reset button (db.remove), CC0 pixel-art tileset, sound effects and ambient music. Every mechanic maps to a real GenosDB call. Live demo (open it in two browser tabs): https://estebanrfp.github.io/godot-genosdb/ Every tab is another farmer in the same shared world: trees fall in every window (and stay fallen for late-joiners via the persistent graph), the wood counter matches everywhere, and chat bubbles pop over each player. Renderer: GL Compatibility recommended. Demo art & audio are CC0 (see CREDITS.md). |
| Category | Tools | |
| License | MIT | |
| Repository Provider | GitHub | |
| Repository Url | https://github.com/estebanrfp/godot-genosdb | |
| Issues Url | https://github.com/estebanrfp/godot-genosdb/issues | |
| Godot version | Godot 4.3 | |
| Version String | 0.2.0 | 0.2.0 |
| Download Commit | 03854c6ebd48744846d9acb86bc751fe2305270d | 03854c6ebd48744846d9acb86bc751fe2305270d |
| Download Url (Computed) | https://github.com/estebanrfp/godot-genosdb/archive/03854c6ebd48744846d9acb86bc751fe2305270d.zip | https://github.com/estebanrfp/godot-genosdb/archive/03854c6ebd48744846d9acb86bc751fe2305270d.zip |
| Icon Url |
https://raw.githubusercontent.com/estebanrfp/godot-genosdb/main/media/icon.png
|
https://raw.githubusercontent.com/estebanrfp/godot-genosdb/main/media/icon.png
|