estebanrfp
GenosDB for Godot
Serverless peer-to-peer multiplayer for Godot games exported to the Web, powered by GenosDB (https://github.com/estebanrfp/GenosDB): 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) -> gdb(name, {rtc:true}) 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_leaveSetup 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.Live demo (open it in two browser tabs): https://estebanrfp.github.io/godot-genosdb/A top-down co-op farm: every tab is another player sharing the world, and a chopped tree falls in every window (and stays fallen for late-joiners, via the persistent graph).Renderer: GL Compatibility recommended.