Endless Runner going through blocks

  • I have posted previously about this topic and still haven't found a fix

    On my Endless Runner i have the play and the blocks as solids. But sometimes i still pass through the randomly generated blocks (platform) It seems to happen when i jump (i have double jump enabled also)

    Surely having the player and blocks solid i wouldnt be able to pass through them? It only happens hitting the side of the block platforms

    Still cant find a fix for this. Apart from this my game is all done!

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have posted previously about this topic and still haven't found a fix

    On my Endless Runner i have the play and the blocks as solids. But sometimes i still pass through the randomly generated blocks (platform) It seems to happen when i jump (i have double jump enabled also)

    Surely having the player and blocks solid i wouldnt be able to pass through them? It only happens hitting the side of the block platforms

    Still cant find a fix for this. Apart from this my game is all done!

    Thanks!

    many things can influence this problem, can post a .capx?

  • > I have posted previously about this topic and still haven't found a fix

    >

    > On my Endless Runner i have the play and the blocks as solids. But sometimes i still pass through the randomly generated blocks (platform) It seems to happen when i jump (i have double jump enabled also)

    >

    > Surely having the player and blocks solid i wouldnt be able to pass through them? It only happens hitting the side of the block platforms

    >

    > Still cant find a fix for this. Apart from this my game is all done!

    >

    > Thanks!

    >

    many things can influence this problem, can post a .capx?

    Hi! here you go dropbox.com/s/gp0kikobgkiwxtv/SantaDash_Branded.c3p

    My theory is that it happened changing to double jump as well as (what people suggested and fixed another problem) is line 22 on game sheet 1 (event sheet). As the player was slowly walking back and would eventually fall of the left side of the screen. But that is just my theory

    Thanks for your help!

  • I'm not using C3, so can't open the c3p to check, but is this the same one where the player is continually set to the same X position?

    If so, in the event that sets X postion, add in a Player Is On Floor condition, so it doesn't do it while the player is jumping/falling, that way the blocks can push them back.

  • I'm not using C3, so can't open the c3p to check, but is this the same one where the player is continually set to the same X position?

    If so, in the event that sets X postion, add in a Player Is On Floor condition, so it doesn't do it while the player is jumping/falling, that way the blocks can push them back.

    It is this atm imgur.com/a/vGwGb (as suggested to do in another forum post)

    The crossed out bit above is the default it was at, which was using the endless runner template.

    Not sure exactly what you mean, first game for me!

    Thanks!

  • Event 22, you currently have Platform is on floor inverted, which means it's setting X postion while in the air (jumping/falling), but you only want to do it while it's on the floor, so you need to remove the inversion Right Click->Invert

  • Event 22, you currently have Platform is on floor inverted, which means it's setting X postion while in the air (jumping/falling), but you only want to do it while it's on the floor, so you need to remove the inversion Right Click->Invert

    Thank you! Was just going by what someone put in my other forum post fix that issue!... But now if I don't jump and hit a wall in front (that is up against the platform i am on it will just carry on running through that higher platform (hitting the side of the wall). Seems like i need another event in it telling it to stop running on hitting side of a wall?

    I guess that fix is only telling it when its jumping? not when something is in the way

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)