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.

Using Input Processing for giving puzzle answers?

Hiyas,

I see that there's a nifty feature in RMXP for inputting the name of a hero.
But I'd like to have the player input a word to answer a puzzle. How would I go about doing this? :3

Thanks!
 
Here's a simple way to do it. Create a new actor, and leave the name blank (or add a little comment for the player to read, like "Password").

In the puzzle event, use the Name Input Processing method, and select the new actor you've created (you can specify the maximum number of letters in "Max Characters"). After that, use a Conditional Branch and select the choice "Actor [#] is Name _____ Applied" (2nd page). In the blank, put in the correct password needed.

In the branch, continue eventing whatever you want to happen if the player gets it correct. You can also create an Else branch for if it's wrong; in there, add a "Change Actor Name" command (3rd page) to clear the password actor's name again. The rest of the eventing is up to you.

Good luck with it, Twin Matrix! :thumb:
 
This is an amazing idea and an even cooler feature. I used it for cheat codes in the first game I did. So if you named yourself... say... "God" or something, you were level 99 and invincible. A very lame cheat code, I know... but it was my first game... come on. : )

Good luck.
 

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