Jump and Bounce

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??

Comments

  • BonepileGamesBonepileGames Member Posts: 194
    1) Make actor called BALL. Under Actor tab, go to Physics and make Collision Shape - Circle, also tick FIXED ROTATION. Make actor called PLATFORM. Put COLLIDE attribute (collide with actor named PLATFORM) into BALL(prototype). Put ACCELERATE attribute into BALL(prototype), direction 270, speed what you'd like. Go to PLATFORM and under physics tab uncheck MOVEABLE and check FIXED ROTATION. Then put BALL and PLATFORM in scene.

    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.
  • hegvbwkeuyrvhegvbwkeuyrv Member Posts: 4
    Thanks Bonepile :3
  • hellokittyhellokitty Member Posts: 22
    @bonepileGames please look at my question in this forum ive been waiting for hours and noone has helped!
  • hegvbwkeuyrvhegvbwkeuyrv Member Posts: 4
    Erm... @bonepileGames, i've tried your 1) step, but i can't do that .-. (P.S. The object i used is rotating to, does it make any difference?)
  • BonepileGamesBonepileGames Member Posts: 194
    @hegvbwkeuyrv‌

    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.
Sign In or Register to comment.