Game
Ladra
10 years ago

Why work on a debug menu for your game


Every once in a while when you’re developing a game and want to test something out you cheat and write some code in order to bypass a certain situation quickly, right?

Well, it’s a very common thing once a game get’s to a certain length that you have a debug menu inside of it. It’s extremely helpful and definitely worth losing a few days of coding when you want to make add something new for it. Even when using engines like Unity that make this sort of cheating much easier to do without writing any code it’s still useful in certain situations.

On the image above you can see the one I use in Ladra. It’s a very straightforward one but gets the job done. With it I can easily travel between the levels, update the chapter var which triggers conversations on the tavern and also update the complete chapter variable that also triggers a bunch of stuff.

This makes it much faster to test a given situation without touching the game’s code. The best of all is that this menu will only show up on dev version and never on a public build (always good to remember that),

I definitely encourage you to make one for your game!

Facebook
Twitter
Google+
Dev Blog



0 comments

Loading...

Next up

Updating the videos played when you enter the tutorial screen. #gamedev #indiedev #screenshotsaturday #solodev #madewithunity #gamedevelopment

Improved the inspector for editing my stages #gamedev #indiedev #solodev #unity #madewithunity #yurei #samurai #japan

Added a VFX to indicate when it's time to release the charge button for a perfect charge dash attack #screenshotsaturday #gamedevelopment #gamedev #indiedev #solodev #unity #madewithunity #yurei #samurai #japan

Working on castle stages today. Before and after. #gamedev #indiedev #solodev #unity #madewithunity #yurei #samurai #japan

Updated the wave counter on the top left corner to play a tween instead of just setting the new value #screenshotsaturday #gamedev #gamedevelopment #indiedev #solodev #unity #madewithunity #yurei #samurai #japan

Updated the shop with a new icon to indicate when something is equipped or not. Added a tween to transition that instead of just enable/disable #screenshotsaturday #gamedev #gamedevelopment #indiedev #solodev #madewithunity

New Devlog! Insanely Small But Awesome New Visuals + Playtesting in the House

https://brightflask.itch.io/yurei/devlog/726105/insanely-small-b…

Worked on a design tool to help me balance my stages #gamedev #indiedev #solodev #unity #madewithunity #yurei #samurai #japan