Oh sorry i am using my older brothers product , i am getting MMF2 on my birthday which is 3 Months Away so in the meantime i am using his version of MMF2.
Oh sorry i am using my older brothers product , i am getting MMF2 on my birthday which is 3 Months Away so in the meantime i am using his version of MMF2.
In 3 months, then, when you have your own copy of MMF2, you can register a product on the forums here.
Sorry it took so long (I was at work and had to do some other stuff when I got home), but here is a Mega Man X style dashing example. Please feel free to ask if there is something you wonder about.
Thank you yima you are a lifesaver and thank you all for helping me.
In 3 months i will definitely register my MMF2 and again thanks alot but one question is it possible to change it to a button being held down instead of double tapping? i am very sorry if i am asking to much.
Do you mean a button other than the left or right movement keys? In that case all you have to do is removing events 18-28, and add an event "while 'button of your choice' is held down>set dash to 3". This would make the character dash at all times while the button is held down though, and might not be very fun gameplay wise![]()
I see , is there a way to set a limit to when the button is pushed to stop ? if not it doesnt matter , i greatly aprreciate your help i will mention you in the credits :]
Hehe, no need for that! I'm just happy to help.
You could set a cooldown for the dash, like I did in my example. Just make sure you use the "Upon pressing button" and not "While button is pressed".
Upon pressing button
>Set cooldown to 30 (or however long you want the dash to long)
cooldown>0
>Set dash to 3 (or whatever speed you want)
>cooldown=cooldown-1 (do it counts down to 0)
cooldown=0
>Set dash to 0
There is nothing to prevent the user from simply spamming the dash button, though, which makes for pretty non intuitive gameplay. The good thing with the Mega Man X double tap solution is that it requires an active decision from the player. A skillful player will learn to dash a lot and move through the game quick, but it's not something that can be done too easily (and it should not be, since it's a special move).
Yima You truly are amazing :] i couldn't have done it with out you , your skills are amazing. Thank You very much. So is there a way to stop the player spamming the key or no? don't worry its an optional question because you have done more than enough :] thank you again for your help.
You could add a energy system, where you start with 100 energy, and each use of dash uses 30 energy (or whatever amount seems balanced). if you make energy regenerate by 10 per second, it means you can spam dash 3-5 times, but then you have to wait about 3 seconds before you can use it again. It's more of a RPG approach, but it could work![]()