Actor stops when touching ground after jump?

FrazzleFrazzle Member Posts: 223
edited November -1 in Working with GS (Mac)
after my actor jumps and hits the floor it continues to roll on the ground unlike other platformers like mario games due to my accelaration movement behaviours.But I can't use the move behaviour is because when i move while jumping the actor stops jumping and just moves sidewards in the air, defying gravity.

So how can i move while jumping AND stop when my actor hits a platform?

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    You could try experimenting with drag and fiction on the jumper and friction on the platforms.
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    As Scitunes says, Friction drag, and I will Add restitution!
    Also you can have a Rule
    If Collide With Plataform, self.postion.y =Self.position.y
    something like that, hope it helps.
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    self.positionY ALWAYS = self.positionY so I don't think that will work.

    :)

    you could try have a rule that says when overlaps with platform
    change attribute maxspeed to 0
    change attribute maxspeed to 300 (or whatever)

    never tried this but it should freeze the motion for an instant and then immediately allow you to move again.

    make sure you have maxspeed checked in the attributes panel or this will not work.
Sign In or Register to comment.