Help Fixing Runner Game

0 favourites
  • 4 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Hi there,

    Can anyone please help me fix my endless runner game? It's based on the template in C2. There are two problems.

    1) While playing, the player character sometimes randomly skips forward for no reason.

    2) Tapping should make the character jump and double tapping should use the chainsaw only. But right now double tapping also makes it jump as well as use the chainsaw.

    Here's the capx: http://mangotron.com/Runner.zip

    Thanks,

    Dan

  • Well, There is nothing wrong in the Logic, It's following what you ask to do.

    When you double Tap it's it's activates the logic of jump since it is already stated and you have also give a condition to bring chain saw out when double tap.

    How to resolve

    Creat a global variable Tapcount

    If single Tap then set variable to 1

    if Double Tap Then set variable 2

    If Variable Tapcount is = 1 then jump

    If variable Tapcount is = 2 then Bring chainsaw

    since variable are set and with exact match they will only perform action according to the variable.There is a gesture options for touch "Tap" and "Tap-Double" get a reference on manual it will also help!

    Or simple solution create to sprite buttons jump and kill and use them.

    I hope it helps! if you any question feel free to ask!

  • Thanks iGamersBox, I'll try that!

    Can anyone help with the glitch in the game where the game character skips forward randomly, it ruins the game and makes it unfair.

    Thanks,

    Dan

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I fixed the glitch (I think). I had unecessary physics behaviour attached to the player which made it go all weird.

    Dan

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