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.

Input number and others...

Harwn

Member

Hello, i want to know the hows of some problems;

1-How to activate a switch with a number input process?..
You know, i put a door, it needs a number code to be opened... that's the matter...

2-How to activate a door with an item,
Like this, i put a door and it needs a key, how i make to only with the key or another thing to open a door.

3-I want to know other thing, if i change the graphic of my player like the down graphic how to return to the last graphic without select one graphic specifically.
Well, you falled on a waterfall, and you woke up on the floor near of the river, and when you wake up you return to your last graphic.
The problem is, i don't know how to return to the last graphic and when you have the graphic of the down you can move...

4- I need a well explained guide of how to make my battles with buttons and not only with event touches,
well... my game discarded the turn battles and now you fight on the map, but the battles consist on talk with the monster and see booring battles with signs i want to do that you kill the creatures with a button i tried a lot of things and it doesn't work...

5-I don't understand the button input processing and the conditional branch of the buttons...

Please help me with these problems...
Thanks for read it ^ ^ Bye!!
 
1 - This is actually the first time I've worked with the Input function.  You need to create 2 variables.  Variable 1 will be the correct value and Variable 2 will be the one that the player has to enter.  First, make sure Variable 1 is set to whatever you want the code to be, then use the "Input Number" function, choosing Variable 2 and the number of digits in it.  After that, use a conditional branch that checks whether or not Variable 2 is equal to Variable 1.

2 - You can use a conditional branch for this one.  Just use the "Item ___ is in inventory" check.

3 - I'm not really sure what you mean.  You should be able to just change back the way you changed it to a down graphic.  If you give the player the option of changing graphics, record a variable based on which graphic they choose and then use a series of conditional branches to change it back to that graphic.

4 - You'll probably need to be more clear.  You can make a parallel event with "If Button ___ is being pressed" conditional branches, but beyond that I'm not really sure what you need help with.

5 - If you go into Help -> Contents, search for Game Controls.  It uses controller buttons, so buttons aren't what they appear as on the keyboard, like X is actually A on the keyboard, I think.
 

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