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.

Use extra buttons in the game ???

Ok i want to set conditions to (must be pressing "A" button) or something like that so i make a new event and put conditional branch, then add in my action but nothing happens when i push the button why please help.




Also, when ever i change the parameters like max hp does that change the curve to or just the mosst you can get like does it go from (LV: 99 = 500 hp LV: 100 = 550) to (LV:99 =500 LV:100 =8754)
 
brettlee25":2i47esre said:
Ok i want to set conditions to (must be pressing "A" button) or something like that so i make a new event and put conditional branch, then add in my action but nothing happens when i push the button why please help.
The buttons don't correspond to the keyboard.  They actually correspond to the game controller.  Take a look at the image below.


For example, if you want the 'A' button to do something, you have to use 'If X is being pressed' in a conditional branch.  I'm not sure why they felt the need to use game controls over the keyboard, but that's how it works.

brettlee25":2i47esre said:
Also, when ever i change the parameters like max hp does that change the curve to or just the mosst you can get like does it go from (LV: 99 = 500 hp LV: 100 = 550) to (LV:99 =500 LV:100 =8754)
I believe that whenever you change the values, unless you specify otherwise, it returns to the default diagonal line.
 
Try this:  Run your game, and press "F1".  Then click on the "Keyboard" tab.  Here is a list of the keys that are available in the game, and the actual keys that are pressed to activate them.  For instance, where it says "Space", it will probably have a letter next to it in the pull-down menu.  Let's say that the letter next to "Space" is "C".  What this means is that if you want to check to see if the player is pressing the space bar, your event processing should have a conditional branch that checks to see if the player is pressing "C".

Also, in order for this to work you should make a common event that has a parallel trigger, and choose a Switch that is always ON, or turn whatever switch to ON as needed, depending on what you're doing with it.

EDIT:  Looks like Guardian1239 beat me to it, hopefully one of these replies will make some sense.
 

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