How do I touch problem ???

0 favourites
  • 9 posts
From the Asset Store
All popular touch mechanics - scrolling, zooming, swiping
  • hi,

    in order to fix some bug on my game

    i just want to know something

    iam using tap to flap with if any touch start set y vector to -550

    but i put pause button, on touched pause button set time scale to = 0

    but the problem is that when i touch the pause button , my character flap again

    ??? any help ?

    thanks

  • the problem is touching 2 thing at same position !!!!

  • for example

    i have 2 button in same position

    i want that the button that is in the top can be affected by touch (useful for the pause game) because in my case i use (is in touch) so if i put pause button and touch it it will do the action with in touch and the pause the game (scale =0)

    thanks in advance for help

  • I Am Using This.

    Hope Help.

  • thanks a lot

    but i find solution

    add variable for example called "pause"

    and do this script in event sheet

    when pause buttont is on touched ===set variable pause to 0

    on touched "play boutton" set variable to 1

    condition

    when variable time = 0 set time scale to 0

    if time = 1 set time scale to 1

    any way thanks for attention and you give me good idea

  • but i find solution

    add variable for example called "pause"

    and do this script in event sheet

    when pause buttont is on touched ===set variable pause to 0

    on touched "play boutton" set variable to 1

    condition

    when variable time = 0 set time scale to 0

    if time = 1 set time scale to 1

    Hello,

    I am bumping this Thread because I have the same problem as you had matrixreal

    I'm trying to make au pause button in the auto runner template capx but I have a problem, when I hit the pause button, the player jump.

    I tried to do what matrixreal say worked for him, but still, it is not working for me.

    Can someone help me please ?

  • Add the condition touch is not touching sprite to your on any touch start event..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • add another condition "touching the pause boutton" to the "any touch start (jump) and (invert it)

  • I didn't know that we could invert a condition, sure it will help a lot !

    Thank you Guys

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