Skip to content

feat: implement debug menu functionality for high score and coins#4

Merged
Q2L2 merged 2 commits intomainfrom
feature/debug-menu-functionality
Apr 29, 2026
Merged

feat: implement debug menu functionality for high score and coins#4
Q2L2 merged 2 commits intomainfrom
feature/debug-menu-functionality

Conversation

@Mr-Weather
Copy link
Copy Markdown
Collaborator

@Mr-Weather Mr-Weather commented Apr 29, 2026

✅ PR Checklist

Tip

Please check the boxes below to confirm you followed the contribution guidelines:

  • My PR title follows the format: type(scope): description (#issue) (scope and #issue optional)
  • I used the correct type: feat, fix, refactor, docs, test, chore
  • I reviewed my code and removed unnecessary debug logs or comments.
  • I tested my changes and verified they work as expected.
  • I ran the project to confirm it compiles and runs correctly.
  • I read the Code of Conduct and the Contribution Guidelines.

📝 What does this PR do?

  • Added SET HIGH SCORE button: reads and writes the high score save file directly, changes persist across game sessions
  • Added SET COINS button: reads and writes the total coins save file directly, changes persist across game sessions
  • Added input validation: clears field and shows error prompt when non-numeric input is entered

🔗 Related Issue

Link to the issue this PR addresses (if any)

📸 Screenshots / Demos (if applicable)

demo.mp4

💬 Extra Notes (Optional)

This debug menu is accessible only to developers via the -DdebugMenu=true launch flag, as specified in the issue. Changes to high score and coins persist to save files so developers can immediately test unlock conditions without grinding.


❤️ Thanks again for your contribution to Dinosaur Exploder!
Your efforts help make this project awesome for everyone. 🦖✨

@Mr-Weather Mr-Weather self-assigned this Apr 29, 2026
@Q2L2 Q2L2 merged commit 02c40e3 into main Apr 29, 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.

[Feature]: make it easier to test the game for developers with a kind of "debug menu" to bypass things

2 participants