tomhaiger's Forum Posts

  • Ive been struggling with this issue for while now and really need some help on this. I've got a glitch in my game where my player goes through platforms for some reason.

    I had an issue with my autorunner where my player kept moving to the left when running off a platform, i managed to solve this by setting my players X position when they are falling (line 16). But after doing this, my player starts to go through platforms and i have no idea why.

    When i delete the event i created, the glitch doesn't happen, it works as it should. I don't know why it's doing this and would appriciate help on fixing this issue.

  • Unfortunately using an invisible sprite hasn't fixed the issue for me.

    Can anyone else please take a look at my capx and try and help fix the issue?

  • Anyone with any advice of using invisible sprite?

    If this isn't the best way, could anyone else help me fix the glitch I'm having?

  • Just reading through the forums, i was wondering using a invisible rectangle sprite with no animations with the Platform movement would work?

    I've read a few people that have recommened this for platform games, but would this work for an autorunner?

    If so, should i just create an invisible block and transfer all behaviours from the player to the block and replace the player with the block in the events?

  • You can never use too much variables

    Thanks but although it's a little better, I still get instances where the player skips through some platforms, and also when two platforms are close together that you can just run onto the other, if the platform you're running onto is just slightly raised than the one you're on and you run onto it (hope that made sense), either the game ends (restarts) or it skips through it.

  • rekjl Thank you for your response, i've tried the capx but because the level restarts when the player overlaps the platform, it kind of renders the game unplayable as there is no way of telling when it could happen and it defeats the purpose of the game.

    I'm glad it's not a bug but could you help me find a workaround for this please? Could you perhaps fix it so that it worked as before but without the glitch and the player moving back to the left when falling (which i mention in the first post that i kind of fixed with Line 16)

  • Sorry to bump this but can anyone help? Can this be classed as a bug if it can't be fixed?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Anyone? I'm really stumped by this as i don't know why this is happening...

  • OK great, thanks.

  • I've added the following event to my game over screen

    Touch - On touch (retry sprite) - CocoonJS Show Full screen Ad

    Touch - Has Touch 5

    Would this work how i want it to? Showing a full screen ad every five retrys (clicks)?

  • Because as i mentioned, i had a problem where my player moves to the left when they run off the platform. By setting the position, as i've done, it seem to solve that issue but now i have the glitch.

    You can try my capx and delete line 16 and you'll notice that my player moves to the left when running off the platform...

  • OK great, thanks.

    I was wondering, is it possible for me to show ads on every 5th click? By this i mean i want to add a full screen ad to appear after every 5th time the player clicks the retry button after dying.

    Is this possible to do?

  • Ive come across an odd glitch in my game where my player goes through platforms for some reason.

    I had an issue with my autorunner where my player kept moving to the left when running off a platform, i managed to solve this by setting my players X position when they are falling (line 16). But after doing this, my player starts to go through platforms and i have no idea why.

    When i delete the event i created, the glitch doesn't happen, it works as it should. I don't know why it's doing this and would appriciate help on fixing this issue.

  • Ok, so is what i've done so far correct?

    I'm currently in the process of applying for a premium account and I've found the following tutorial which will help me out.

    https: //www.scirra. com/tutorials/1024/mopub-integrate-admob-in-your-cocoonjs-games (remove spaces)

  • Thanks, this works. Only thing is that for some reason, when i'm running the layout, the first playthrough in that session my player starts further foward than usual. Once the player dies and retry, it goes back to normal. It only happens with the first playthrough, each time i start run layout (hope that made sense).

    The other thing is the from time to time, an odd glitch occurs where the player goes through the wall.

    Other than that it works so thanks again