tomhaiger's Forum Posts

  • I need some help/advice on how to put Ads into my Android game. I'm publishing my game through CocoonJS and i've searched through topics on ads for CocoonJS and i'm a little confused as there seems to be various method on doing this with mixed results.

    What i've done is created the following event and placed in my menu and game over event sheet as thats where i want my ads to show.

    CocoonJS - Is showing banner ad - show banner ad bottom center

    I've also created an event on my splash screen - End of the layout - Show full screen ad

    Is this the right way to do it? I tested my game through CocoonJS launcher and banner ads didn't show up but it did show a full screen ad, but only the one time so far.

    I'd appriciate some help on this as, like i mentioned before, i'm finding it a little confusing and i'm still learning, so go easy on me

    Thanks

  • Yeah it's fixed in the sense that the player doesn't move towards the left when falling but now the jumping doesn't work properly as it's become quite unresponsive and the double jump doesn't work.

  • Anyone?

  • 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?

  • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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