Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Creating a "Cheatcode" System

First of all, create a new item .

Example:
Name of item- Cheat Engine
Icon- Anything
Description- A strange device that allows player's to enter Cheat codes

2) go to the Common Events tab. Create a new common event, name it something having to do with "Cheat Codes."


3) Create an Input text event, and put in the text you want it to say.
Ex: Input Cheatcode.
- Then choose how many digits you want all your cheat codes to be. This does not matter as long as it is between 1-8.
- Click Ok.
4) make a new Conditional Branch command.
- Make a Variable, then name it something along cheatcodes(doesn't matter.)
- choose "Equal to" from the drop down menu on conditional branches.
- Now choose "Constant."
    Here put the number you want the cheatcode to be, making sure it is the same amount of numbers as you put in the common event.
- click OK.

In the conditional branch you just created, you create the cheat you want.


@>Play SE: 'Chime2', 100, 150
@>Text: -Cheat:
">
 
Pretty good tutorial I guess, it'd be good for newer users. Although generally people frown upon cheats, and anyone with a basic knowledge of conditional branches could do this quite easily. But it's okay.

By the way, what's the point of updating with a demo less than an hour after you posted the main thing? Couldn't you just wait?
 
Well I wanted to go ahead and release it, but I didn't have a demo ready, so I just through it in as an update :\
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top