Gravity problem

GuaveMediaGuaveMedia Member, PRO Posts: 1,262
edited November -1 in Working with GS (Mac)
Hey,

I have a problem, I have an actor which jumps from a plattform to another. I created some rules for left,right and jump. I set the Y at gravity to 200. The problem I have is this one:

When I move right and the plattform ends, the actor should automatically fall down, when I keep pressing left he should fall down to the left side.

In fact, the actor only falls down when I stop pressing the left button which is really uncool :/

Hopefully someone can help me..

Greetings..

Comments

  • GuaveMediaGuaveMedia Member, PRO Posts: 1,262
    Yeah but the problem that appears when using this settings is that my actor doesn't stop when
    stop pressing the left/right button ://
  • GuaveMediaGuaveMedia Member, PRO Posts: 1,262
    Okey, fixed the problem :)

    Thank you!
  • GuaveMediaGuaveMedia Member, PRO Posts: 1,262
    Ah please, one question just came into my mind. How do I set a wall jump now?

    :)
  • GuaveMediaGuaveMedia Member, PRO Posts: 1,262
    I programmed it like this:

    Move left/right (I only describe left)

    Rule, When Actor ..key, left is down
    Change attribute self.motion.line.Velocity X to -200

    Jump: key, space is down
    change attribute self.motion.line.Velocity Y to 300...

    How about wall jump now?

    greetings

    I crea
Sign In or Register to comment.