Not ANOTHER Jumping Problem... HELP!!! Please :)

AfterBurnettAfterBurnett Member Posts: 3,474
edited November -1 in Working with GS (Mac)
Hi guys,

So I have created a basic jump rule that works pretty well (apart from being controllable in the air but that's another matter) but my problem is, the character doesn't end up in the exact same spot so sometimes it lands above the ground, which of course means it's not colliding, so it won't jump again. Why is it not resetting correctly?

I have a rule that says for 2 sec to move at a speed of 300 then a 2.5 second timer before reversing the movement. I have even added a rule that sets the actor to 0 when no buttons pressed but that doesn't even seem to help.

Any ideas?

It's for a fighting game. I reckon the jumping will work well, just need to sort this bug out.

Also, I am a total noob and I did this from scratch... so the way I've done it may seem a little odd. lol.

Comments

  • AfterBurnettAfterBurnett Member Posts: 3,474
    Update: I unticked the run to completion for the landing... doesn't seem to land above the ground now but sinks into it a little. This is probably because if I'm holding down left or right, this will upset the timer as it will take longer to jump, land as I'm lengthening the move. Basically, is there any way to have the character land at the exact spot on the horizontal axis each time?
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Nevermind, I fixed it all by my lonesome ;) BUT how do I get the game to check if the actor is in the air so I can stop the character being controllable when jumping?
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Never mind... fixed that too... God I'm good :P
Sign In or Register to comment.