playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - krimson0

Pages: [1]
1
Playmaker Help / Set Bool from Bool
« on: June 24, 2013, 12:54:43 PM »
I was wondering if there is an action or a way to set a bool value based on another bool being true within a state. Thanks.

2
Playmaker Help / Jump in 2D Platformer
« on: June 19, 2013, 06:29:34 PM »
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
http://vimeo.com/album/1567704/video/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#msg16182
by 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.

Pages: [1]