moving block for platformer
Unbound
Member Posts: 8
im trying to make a moving block that would go from left to right back and forth but i have scene gravity on for my actor to be able to jump and come back down so my black just gous down. so what i need to know is how to make a side ways moving black that my actor can jump onto and move to the other side of the gap. if someone could help me asap that would be awesome!
Thank you.
Thank you.
Comments
i found out a way to make it work but it falls down from my scene gravity witch is 1000 so that my main guy can jump and come back down to earth.
You ought to check out the Gamesalad Cookbook on Youtube, as well as gshelper.com for tips relevant to your game.
But for now, here is a simple fix.
1) Turn scene gravity OFF
2) Go into your "main guy" and put an accelerate behavior at the top. Tell it to accelerate down (270 degrees) at 1000. This creates gravity for just this character, so nothing else is affect by it (unless you give them the same behavior).
This should give you both the gravity you want and the moving blocks will no longer fall. Good luck!
now how do i make it not fall when my person lands on it from a jump or walking onto it?