tomhaiger's Recent Forum Activity

  • I've tried tweaking it, which has yeilded different results but haven't yet found the right combination to fix this.

    I'm hoping someone can have a look at my capx and help me out with this.

  • I've got an issue with my autorunner game which i'm struggle so fix.

    What happens is when my player falls of a platform (without jumping), it moves gradually to the left of the screen. When the player jumps, it's fine, its only when you let the player fall of the platform that this happens.

    It's a slight movement but i have double jump so if you just fall of the platform and then jump and do it continuously, you'll see the player getting closer and closer to the left of the screen.

    I've tried changing the platform behaviours such as gravity etc but haven't found a way to fix this. Can someone help me with this?

  • Sorry to bump this but can anyone else help me out?

  • I've already downloaded that capx and tried it with mines but with no luck

    Still trying to find a solution to this issue...

  • That hasn't worked either, maybe it has something to do with my Behaviour settings? I don't know.

    Could you perhaps try my capx to see if it works for you? Just in case i'm doing something wrong...

  • Thanks, i've tried it and it does prevent the player going to the left but my player starts to judder slightly to the left and the move to its original postition when i fall. I don't really like that as it doesn't look great on my game.

    I appriciate taking the time out to help and apologise that your solutions are not working for me.

    Are there any other suggestions?

  • I tried that and although it worked in keeping the player from moving left, weird things start to happen such as the player falling through platforms and skipping postitions so i don't want that.

    Are there any other methods?

  • I've come across a small issue with my autorunner game which i don't know how to fix.

    What happens is when my player falls of a platform (without jumping), it moves gradually to the left of the screen. When the player jumps, it's fine, its only when you let the player fall of the platform that this happens.

    It's a slight movement but i have double jump so if you just fall of the platform and then jump and do it continuously, you'll see the player getting closer and closer to the left of the screen.

    I've tried changing the platform behaviours such as gravity etc but haven't found a way to fix this. Can someone help me with this?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks

  • Thanks but its not working quite how i want it to. The player doesn't jump when falling off the platform (which is what i want) but now to do a double jump you have to press jump again straight after jumping, which isn't ideal. If i jump and want to do a double jump on the way down, it won't do it as the Not Falling code is added.

    Would it be best if the double jump is only triggered when the player jumps? If so, how can i do this?

  • refais23 Thanks again for your help, i've come across something i was hoping you can help with. The double jump works fine but I've noticed that if i just run off the platform and press the jump button, the player still jumps in mid air.

    I would like it so the double jump only works after the player jumps rather than at anytime when the player is in mid air.

    Can you help please?

    Thanks.

  • Thank you so much, it works great

tomhaiger's avatar

tomhaiger

Member since 18 Jun, 2014

None one is following tomhaiger yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies