Skip to content

Add space walking adaptive difficulty - #50

Merged
K-Meech merged 17 commits into
mainfrom
km/space-walking-progression
Feb 11, 2026
Merged

K-Meech merged 17 commits into
mainfrom
km/space-walking-progression

Conversation

@K-Meech

@K-Meech K-Meech commented Feb 9, 2026

Copy link
Copy Markdown
Collaborator

For #18 - see new info from David on the issue about adaptive difficulty

Adds:

  • a time limit that increases from 1 to 3 minutes based on performance (the set number of steps required to win is removed, so it is fully based on the timer)
  • at the moment, 3 games in a row must be won to progress (as discussed in the last meeting for the star seek game).
  • after reaching the maximum time limit (3 minutes), the next progression is the addition of head turns. An arrow is shown on screen after stepping out and back to the centre, that fills with a head turn in that direction.
  • I changed the progression rate from that suggested on the issue, as it felt too difficult (for one, the score increases every 2 steps - one out and one back - so it needs to be halved. Plus, there is additional waiting time when the particle systems are shown on a correct step, which slows down the achievable rate again)

If you want to skip directly to the head turn sequence (highest difficulty level), you can copy this example score json to C:\Users\USERNAME\AppData\LocalLow\DefaultCompany\AstroBalance
SpaceWalkingScores.json

Note: as discussed previously, this game works best when the eye tracker is closer to head level e.g. putting the laptop at the edge of a desk, and raising it higher.

@K-Meech

K-Meech commented Feb 10, 2026

Copy link
Copy Markdown
Collaborator Author

One small update to this PR: I added a 'Debug head turns' checkbox to the 'SpaceWalkingManager' to make it easier to test the head turns section. This means you can just click this checkbox rather than having to play many games to reach the right difficulty, or manually edit the save data json (as mentioned in the description above)

@thompson318 thompson318 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and play test performed as expected. I left one comment on what I think is an unused head roll enum.

@thompson318 thompson318 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Plays as described in PR.

@K-Meech
K-Meech merged commit 53395bf into main Feb 11, 2026
1 check passed
@K-Meech
K-Meech deleted the km/space-walking-progression branch February 11, 2026 08:25
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.

2 participants