Hi,
I just started using playMaker and am pretty new to programming in general. I'm playing around with trying to make a 2D platformer type control.
I've looked at this tutorial
Not a valid vimeo URLvideo/21880268
I like how it's set up so I'm trying to replicate it using playMaker. The first attatchment(inputState01.jpg) shows what I have so far. Everything works fine, except when it comes to the jump.
In the tutorial, the jump seems to reach the jumpSpeed height and falls down. However, in my case, the jump keeps going as long as the space bar is held. This makes sense why it happens but I guess I don't get why the tutorial one works the way it does, or how I would translate that to playMaker.
The concept is also based off of an answer to this thread
http://hutonggames.com/playmakerforum/index.php?topic=3516.msg16182#msg16182by user greg. So I would like to know how to get it to work properly.
Furthermore, eventually, I would like to split the actions of the state into an fsm that looks like the second image(fsm01.jpg). I would like this so I can keep different status of the character in different states to provide flexibility in each status. If this is not good than feel free to advise. The jump however also doesn't work for this. After jump is initiated, it jumps to "in air" and keeps going up. When I try to re-define gravity in "in air", the player starts falling immediately after jumping.
Any help/suggestions/critiques would be great since, again, I am rather new to all this. Thanks for your time.