Cheat System
Mobile Eggbert includes a hidden cheat panel accessible through a secret gesture. The system is documented in documentation/Cheat System.md.
Overview
The cheat panel consists of:
- A 3×2 hidden button grid on the main menu (or accessible screen) used to enter the unlock gesture
- A panel of 9 cheat action buttons (
Cheat1–Cheat9) that becomes visible after unlocking - A set of 22 cheat code strings stored in
Tables::CheatCodes
Unlock Gesture
The cheat menu is unlocked by pressing a specific 10-button sequence on the 3×2 cheat grid. The grid layout is:
Naming: first digit = column (1–3), second digit = row (1–2)
The required 10-button sequence to unlock the cheat panel:
Cheat Action Buttons
After unlocking, 9 action buttons appear. Each maps to a cheat action in Game1::CheatAction():
| Button | Cheat Name | Effect |
|---|---|---|
Cheat1 | OpenDoors | Toggle all doors open/closed in the current level |
Cheat2 | SuperBlupi | Toggle enhanced player abilities (god-mode variant) |
Cheat3 | ShowSecret | Toggle display of hidden/secret objects |
Cheat4 | LayEgg | Set lives to 9 |
Cheat5 | Reset | Reset all game data (all 3 gamer slots) |
Cheat6 | TrialMode | Toggle trial mode simulation (shows paywall screen) |
Cheat7 | CleanAll | Clear all objects from the current map |
Cheat8 | AllTreasure | Grant all treasures (level immediately completable) |
Cheat9 | EndGoal | Instantly complete the current level |
All 22 Cheat Codes
The full list of cheat code strings stored in Tables::CheatCodes[22] (used by Game1::CheatAction()):
| # | Cheat Code | Effect |
|---|---|---|
| 1 | BuildOfficialMissions | Build/restore official mission set |
| 2 | OpenDoors | Open all doors |
| 3 | CleanAll | Clear all objects from map |
| 4 | SuperBlupi | Super Blupi mode |
| 5 | LayEgg | Grant 9 lives |
| 6 | KillEgg | Remove all eggs from level |
| 7 | Skate | Spawn skateboard |
| 8 | Copter | Spawn helicopter |
| 9 | Jeep | Spawn jeep |
| 10 | AllTreasure | Grant all treasures |
| 11 | EndGoal | Complete level |
| 12 | ShowSecret | Show hidden objects |
| 13 | RoundShield | Grant shield power-up |
| 14 | Lollipop | Grant lollipop power-up |
| 15 | Bombs | Grant personal bombs |
| 16 | BirdLime | Bird-lime / glue special |
| 17 | Tank | Spawn tank |
| 18 | PowerCharge | Grant charge power |
| 19 | Drink | Grant drink power-up |
| 20 | Overcraft | Spawn hovercraft |
| 21 | Dynamite | Grant dynamite |
| 22 | WeelKeys | Grant all 3 keys |
quick and quicklollypop have a name collision — one is a prefix
of the other. The fix is to rename quicklollypop. See Known Issues.
Implementation Details
The cheat system is implemented across:
Tables.cpp— stores the 22 cheat code strings as a static arrayCheatCodes[22]Game1.cpp—CheatAction(ButtonGlyph)dispatches cheat button pressesDecor.cpp— implements the actual cheat effects (spawning objects, granting items, etc.)
The hidden button grid buttons (Cheat11 through Cheat32) are present in ButtonGlyph but not rendered until the player deliberately navigates to the hidden area of the screen.