-
Notifications
You must be signed in to change notification settings - Fork 1
Cheat Mode
DuncanSzabaga edited this page Nov 23, 2025
·
1 revision
is a developer tool used to debug the game, test features.
The Cheat Mode is implemented as an overlay layer ("CheatMode") that sits on top of the game.
-
State Management: A global variable
global.is_cheatmode_openedtracks whether the menu is open. -
Visibility: The
CheatPanelobject checks this variable every frame.- If
true: It shows the"CheatMode"and"CheatModeLabels"layers. - If
false: It hides them.
- If
-
Interaction: When Cheat Mode is open, normal game interactions (
global.allow_interactions) are often disabled to prevent accidental clicks on the board while using the menu.
- Click the Cheat Mode button (usually a hidden or small button in the UI).
- Effect: The cheat overlay appears, and the game pauses normal interactions.
Once the menu is open, you can use the following features:
-
Stop Timer: Pauses the global game timer (
global.timer_enabled = false). - Resume Timer: Resumes the global game timer.
-
Restart Board: Instantly resets the chess board to its starting state (calls
restartBoard()).
-
Reset Card: Clears the player's hand and forces the
CardHandlerto rebuild the deck/hand.
- Click the Close button (or toggle the Cheat Mode button again).
- Effect: The overlay disappears, and normal game interactions resume.
Wiki
User Stories
Design
Requirements
Architecture
Considerations & Issues
Documentation
- How to Add a Card to the Game
- How the Music Controller & Script work
- Card Paging & Search System (CardManager)
- How to Spawn Cards in a Room
- How the Chessboard works
- How to Add a New Board Color
- How to use Alert System
- Chess Logic
- Cheat Mode
- Timer
- How the new card system works
- How the NEW Chessboard works