I trying to do my player fly with the same key/button of jump like that:
If player is "jump" or "fall" and press de "Z" key. state = "fly"
but i don't know how to do this ;-;
need to be like a firebrand in Demon's Crest kkkkk
Develop games in your browser. Powerful, performant & highly capable.
I made a basic jetpack/flying example for someone else a while ago that might be useful to you.
You can change the key used for flying to be the same one used for jumping in the events - currently uses SPACE for flying and default platformer controls for jumping.
My version for sustained same level flight. https://drive.google.com/open?id=0BzhJb ... FhOX3cyRzQ
Thanks Oddconfection ^^
VictoryX Thank you, your version its what i need *U*