Hi,
TL; DR
I want to make a charged jump into a platformer type game. Basically its the same as in Prototype:
Hold down jump to charge up the jump.
Press jump to jump normally. (whether it adds to the charge bar is irrelevant).
-----------------
I'm new to MMF2 and i've only been using it for a few weeks.
I've been following tutorials of different genres to gain an understanding how things are done in MMF2.
I've started on making a scrolling platformer game and i've got the basics down as well as player movement although i had to search on how to make double-jumps. BTW I'm using the "Platform" behaviour and not PMO: PMO is better but i don't know how to make it act like an infinite runner i.e. it places an object at the edge of the screen when i move right to make it look like you are scrolling.
But i digress.
When i hold down jump i want it to start the charge process i.e. Add 1 to counter.
And when i let go it moves the player vertically.
But here is the main problem, MMF2 treats "when pressed" and "repeat when pressed" as the same: a button press - as far as i can tell.
I have a feeling flags, or alterable values are involved to tell it turn jump off and charge the bar until i let got.
Or is it simply this can't be done? Any help would be greatly appreciated as i've been banging my head for days trying to figure this out.
Put simply, if anyone has ever played Prototype then you will know what i mean.
Any help would be greatly appreciated.