Jump and Bounce
hegvbwkeuyrv
Member Posts: 4
Hello folks! I'm a real newbie here on forums.gamesalad.com
I have a few question, and it is pretty urgent.
1. How to make an actor bounce without ruler (up and down), like a ball (non-stop)
2. How to make an actor jump like super mario (love this game)
3. When an actor collide with an object, i want to end the game, how can that be done?
P.S. When i click the expression editor (attribute) the pop-up doesn't launch .-. (windows 8.1.), please, does anybody have a solution fot this??
I have a few question, and it is pretty urgent.
1. How to make an actor bounce without ruler (up and down), like a ball (non-stop)
2. How to make an actor jump like super mario (love this game)
3. When an actor collide with an object, i want to end the game, how can that be done?
P.S. When i click the expression editor (attribute) the pop-up doesn't launch .-. (windows 8.1.), please, does anybody have a solution fot this??
Comments
2) Make actor called PLAYER. Make actor called PLATFORM. Player>Physics>FixedRotation,Bounciness set to 0. Accelerate attribute direction 270, speed what you'd like. Collide attribute with PLATFORM. Make RULE. When collides or overlaps with PLATFORM (Collision attribute with orange/yellow icon) DO Accelerate attribute direction 90, speed what you'd like. Another RULE. When key [leftarrow] is down DO MOVE attribute direction 180 speed what you'd like. Another RULE. When key [rightarrow] is down DO MOVE attribute direction 0 speed what you'd like. Another RULE. when key [rightarrow] is up, when key [leftarrow] is up DO Change attribute- set player>motion>linear.velocity>x to 0. PLATFORM>PHYSICS>FIXEDROTATION,Uncheck moveable.
3) Make actor called PLAYER. Make actor called DESTROYER.
Player>Physics>FixedRotation,Bounciness set to 0. Constrain attribute - set player>motion>linear.velocity>x to +100. Rule>when collides or overlaps with DESTROYER DO Destroy actor, Change scene
Those ways are the least complicated. You can create 1),2),3) by several ways.
what do you mean by 'I can't do that'?
If it is rotating, try to edit the acceleration behaviour 'relative to SCENE'. I am pretty sure it is relative to actor right now.