Skip to content

Saves keep physics and script state, game keys as data, licences and CI - #3

Merged
eben-vranken merged 4 commits into
mainfrom
save-state-keys-ci
Nov 11, 2026
Merged

eben-vranken merged 4 commits into
mainfrom
save-state-keys-ci

Conversation

@eben-vranken

Copy link
Copy Markdown
Owner

What changed

  • Saves: a saved game keeps where physics bodies and scripted objects are, and what scripts remember in this (on objects and for abilities). Older saves still load.
  • Keys: the game's keys (move, jump, sprint, crouch, use, clap, map) are keys in player.ron, edited under KEYS in the player feel panel. Prompts and dialogue hints show the bound key; scripts can ask by action (player.pressed("jump")).
  • Licences: LICENSE-MIT and LICENSE-APACHE.
  • CI: fmt, clippy (warnings denied) and tests on windows-latest.

Checked

  • 253 tests pass locally; fmt and clippy clean.
  • A bench route pushed the crates and saved at the save stone; resuming from that save put 7 objects back and carried the watcher's script on.

Not checked by hand

  • Rebinding keys in the feel panel while playing.
  • The double jump after a load.

🤖 Generated with Claude Code

eben-vranken and others added 4 commits November 11, 2026 16:37
Co-Authored-By: Claude <noreply@anthropic.com>
Saved games now hold where physics bodies and scripted objects are and
what scripts remember in `this` (objects and abilities), per object id.

The game's keys live in player.ron (keys: forward, jump, use, ...), are
edited in the player feel panel, shown in prompts, and scripts can ask
for them by action.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Confirmed by the user.

Co-Authored-By: Claude <noreply@anthropic.com>
@eben-vranken
eben-vranken merged commit dc718aa into main Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant