How to edit stats using a debug/developer menu?

I would recommend doing what @sviyagin and @cup_half_empty suggested. It’s essentially creating a Debug Menu/Developer Menu that you disable/delete when your game is published (or keep it in as a fun little easter egg!)

I did this with my game as well.
*create debug false
*comment: If true, enables debug menu in Stats Screen

This isn’t uncommon at all. It’s why games like Counter-Strike and Minecraft have commands/cheats, they were coded in by the developers to help debug their game.

Writing sections of code that readers won’t access on publishing may sound like a waste of time to some, but if you ask me, it’s worth taking an hour to two to code in a debug menu when compared to the hours I spent fixing issues. It helps provide additional clarity to issues and really cut down the time it takes to fix them.

3 Likes