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.

So I made a Legend of Dragoon battle system witht he default combat

Anyway so this is how it works you attack using a skill called Addition instead of regular attack. The skill sets off a regular attack then a flash happens you're suppose to press "A" as soon as the flash ends to set off the next attack. The problem is, you can Hold A down the hold time and set off the attacks. I want it to be semi difficult to do so how do you make it so it will cancel if "A" is pressed before the flash is over?

Sorry about the wall of text.
 
edit- yups that method works. Just don't use 8 frames, it happens way to fast.
----------------
here you go:

lets say the flash is 8 frames long
have your event look like this
[flash- however you are doing it]
wait6 frames
conditional branch- if enter is pressed skip to label Oops!
(no else case)
wait 2 frames
conditonal branch- if enter is pressed [insert rest of your skill here] jump to label Oops!

Label Oops!
exit event processing

-------------------
i'm gonna test it now to see if that works
 

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