Creation of asset "ReactBridge — React/Next.js Bridge" New
| New/Edit | |
|---|---|
| Title | ReactBridge — React/Next.js Bridge |
| Description |
A GDScript Autoload singleton enabling bidirectional, event-driven communication between a Godot 4 WebAssembly game and a React / Next.js parent window via postMessage. Works alongside the react-godot-bridge npm package (npmjs.com/package/react-godot-bridge). USAGE: • Receive from React: ReactBridge.on_react_event.connect(_on_event) • Send to React: ReactBridge.emit_to_react("player_died", { "score": 1500 }) FEATURES: - Bidirectional postMessage transport - JSON envelope protocol with secret key validation - Origin restriction for production security - Decoupled signal bus — scenes connect to signals, no browser awareness needed INSTALL: Enable the plugin in Project → Plugins, then add ReactBridge as an Autoload in Project Settings. |
| Category | Scripts |
| License | MIT |
| Repository Provider | GitHub |
| Repository Url | https://github.com/MakerDZ/react-godot-bridge |
| Issues Url | https://github.com/MakerDZ/react-godot-bridge/issues |
| Godot version | Godot 4.0 |
| Version String | 1.0.1 |
| Download Commit | 58c8258fcc02ef247837c19182c34cb03affbcd8 |
| Download Url (Computed) | https://github.com/MakerDZ/react-godot-bridge/archive/58c8258fcc02ef247837c19182c34cb03affbcd8.zip |
| Icon Url |
https://assets.vercel.com/image/upload/v1662130559/nextjs/Icon_light_background.png
|
| Preview Insert | ||
|---|---|---|
| Type | image | |
| Image/Video URL |
https://raw.githubusercontent.com/MakerDZ/react-godot-bridge/main/assets/demo.png
|
|
| Thumbnail |
https://raw.githubusercontent.com/MakerDZ/react-godot-bridge/main/assets/demo.png
|
|