game_view.rs 4525 -> 1878. Deleted in one marker-verified cut: the 84-arm game_dispatch chain, all arg/option/value helpers, spawn_entity/spawn_terrain /spawn_car/spawn_plane/spawn_character/spawn_block_body/set_brain, the GAME_API table, suggest_verb/edit_distance, and the duplicated CallbackTable. register_game_handle now binds game_script's verb table; unknown verbs keep the same hard-fail plus did-you-mean. Kept: run_tick and everything parity depends on — tape input, gamepad poll, camera mailbox, perf channels, agent RPC, save/log flush. Rollback deliberately still gamemaker's hand-written WorldSnapshot, not GameWorld::clone(). Clone is strictly safer and is what Arcade uses, but eval_body is the parity-critical path and the snapshot is what the tape was established against — swapping it deserves its own tape run, not a rider on a 2700-line deletion. Three pre-existing divergences fixed in game_script (sfx/beep/jingle predated the 31-verb port and had drifted): beep's `to` defaulted to 0.0 instead of freq, so every beep swept to silence; beep never read its wave option at all (allowed but unused, and AudioRequest::Beep had no wave field); gain and jingle ms were off. Audio drains host-side in run_tick and after a successful eval so a startup jingle isn't held a frame; a failed eval discards its queue. Regression the migration exposed: block verbs spawn through the shared box path, which re-validated keys against the BOX allow-list, so game.car(...) logged 8 bogus "unknown option" warnings per eval straight into the channel the agent reads. Added spawn_entity_unchecked for the block path; a real typo on game.box still warns. Racing fixture: 8 warnings -> 0. Tape probe BYTE_IDENTICAL (re-run after the audio and warn changes too). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
17 lines
714 B
TOML
17 lines
714 B
TOML
[package]
|
|
name = "makepad-example-gamemaker"
|
|
version = "0.1.0"
|
|
authors = ["Makepad <info@makepad.nl>"]
|
|
edition = "2021"
|
|
description = "Voice-driven makepad-native game maker for kids, backed by Claude Code"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
makepad-widgets = { path = "../../widgets", features = ["maps", "pdf", "voice"] }
|
|
makepad-code-editor = { path = "../../code_editor" }
|
|
makepad-ai = { path = "../../libs/makepad_ai" }
|
|
makepad-converse = { path = "../../libs/converse" }
|
|
makepad-game-sim = { path = "../../libs/game/sim" }
|
|
makepad-game-render = { path = "../../libs/game/render" }
|
|
makepad-game-blocks = { path = "../../libs/game/blocks" }
|
|
makepad-game-script = { path = "../../libs/game/script" }
|