Optional native (Rust GDExtension) versions of hot simulation code from the GameSpice addons. Each module gives the same answers as the script it replaces. A game without the library, and every web export, simply runs the script.
This is a GameSpice addon (MIT, built with Claude Code). examples/sim_selftest.tscn is the headless suite, and cargo test in rust/ covers the kernels. The games in Zee's Games run on GameSpice addons and live servers, and they load this library where a build ships it. Bug reports go to the issue tracker.
| Module | Replaces |
|---|---|
| bots | The sight scan of GameSpice Bot's brain |
- Run
ci/install.sh(needs a stable Rust toolchain). It builds this machine's library intoaddons/gs_sim/bin/<platform>/and writesaddons/gs_sim/gs_sim.gdextension. Or unpack a release'sgs_sim-<version>-<platform>.zipat the project root. - Open or import the project once so the engine lists the extension.
Nothing to call. GSSim.has(&"bots") tells whether a module is loaded, and GameSpice Bot uses it on its own when present.
Keep addons/gs_sim/bin/ and gs_sim.gdextension out of plain-template web exports. The opt-in web build is ci/web.sh; see docs/web.md.
Link the sibling addons (addons/gs_core, addons/gs_bot), install a library, then run examples/sim_selftest.tscn headless with Godot. Its arms section also needs gs-player-char's scan linked (examples/linked/gs_view_arms_clear.gd, skipped when absent), and its weapon suite (examples/sim_weapon_selftest.tscn) gs-weapon's addon (addons/gs_weapon, skipped when absent). Without a library the suite checks the fallback and says the native half was skipped. cargo test in rust/ tests the kernels alone.
Design and numbers: docs/design.md. Writing a native twin and its parity suite for any addon: GameSpice Core native-twins.
Zee's Games is a collection of games I made on GameSpice, for demonstration and for fun. They show what the platform can do, and they run on live servers you can join. Anybody can create games on GameSpice, and each addon is its own repository and can be used separately from the games and from the rest of GameSpice.
These games vendor this addon:
- Fatal Contact
- Airdrift
- Playlot
- Hungario
- Buses From Hell
- Smash Copter
- Zombie Zone
- Hide n Seek
- Prop Hunt
- Murder Mystery
- Deathrun
- Wipeout
- Dangerous Delivery
- Look At Me
The whole collection is at zeesgames.com.
MIT licence, see LICENSE. The only closed part of the GameSpice platform is the web back end; you can use your own instead of GameSpice's.