How to make each touch act separately on same object?

0 favourites
  • 7 posts
From the Asset Store
Welcome! I-Spy (Hidden objects) is an educational puzzle that is more than just seek-and-find activities.
  • Hi,

    I new in construct and i am going to learn it.

    How can i give order to each touch or make each touch act separately?

    For example in first touch object i want it shows 1 and in second touch on same object it shows 2 in third on same object it shows 3 and... etc

    Thanks

  • Do you want to know how many times it was touched, or how many touches at once?

    Eg: If I tap a square 4 times, you see 4. If I put 4 fingers on it I see 4.

    Touch (https://www.scirra.com/manual/119/touch) is the quick and easy way to go.

    For either option you can create a variable to hold the count, and then use

    System>Touch>On Nth Touch Start (or End depending on your goal)

    count each time it starts/ends.

  • Hi,

    I new in construct and i am going to learn it.

    How can i give order to each touch or make each touch act separately?

    For example in first touch object i want it shows 1 and in second touch on same object it shows 2 in third on same object it shows 3 and... etc

    Thanks

    im not sure what you need but i made this sample project for you

    https://drive.google.com/open?id=1ZoB_i ... elScnKAORc

  • Do you want to know how many times it was touched, or how many touches at once?

    Eg: If I tap a square 4 times, you see 4. If I put 4 fingers on it I see 4.

    Touch (https://www.scirra.com/manual/119/touch) is the quick and easy way to go.

    For either option you can create a variable to hold the count, and then use

    System>Touch>On Nth Touch Start (or End depending on your goal)

    count each time it starts/ends.

    ----------------------------------------------------------------------

    Thanks for you respond,

    Let me explain it this way:

    For example i have a button and a text in my layout:

    each time that player touch the button, the text shows different numbers for each touch, like 1,2,3,...

    First touch button: Text changes to 1

    Second time touch same button: same text change to 2

    ...etc

    I dont know how to explain better, sorry <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad" />

  • > Do you want to know how many times it was touched, or how many touches at once?

    >

    > Eg: If I tap a square 4 times, you see 4. If I put 4 fingers on it I see 4.

    >

    > Touch (https://www.scirra.com/manual/119/touch) is the quick and easy way to go.

    > For either option you can create a variable to hold the count, and then use

    >

    > System>Touch>On Nth Touch Start (or End depending on your goal)

    >

    > count each time it starts/ends.

    >

    ----------------------------------------------------------------------

    Thanks for you respond,

    Let me explain it this way:

    For example i have a button and a text in my layout:

    each time that player touch the button, the text shows different numbers for each touch, like 1,2,3,...

    First touch button: Text changes to 1

    Second time touch same button: same text change to 2

    ...etc

    I dont know how to explain better, sorry <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    it's exactly what i did in the shared .capx, have you tried it?

  • Do you want to know how many times it was touched, or how many touches at once?

    Eg: If I tap a square 4 times, you see 4. If I put 4 fingers on it I see 4.

    Touch (https://www.scirra.com/manual/119/touch) is the quick and easy way to go.

    For either option you can create a variable to hold the count, and then use

    System>Touch>On Nth Touch Start (or End depending on your goal)

    count each time it starts/ends.

    ---------------------------------------------------------------------------------------------------

    Thank you very much for your help.

    meanwhile another problem is driving me crazy. i will be so so grateful if you can help me to find a solution. please see the image from link. <img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarrassed" />

    pasteboard.co/HaqjL71.jpg

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • >

    > > Do you want to know how many times it was touched, or how many touches at once?

    > >

    > > Eg: If I tap a square 4 times, you see 4. If I put 4 fingers on it I see 4.

    > >

    > > Touch (https://www.scirra.com/manual/119/touch) is the quick and easy way to go.

    > > For either option you can create a variable to hold the count, and then use

    > >

    > > System>Touch>On Nth Touch Start (or End depending on your goal)

    > >

    > > count each time it starts/ends.

    > >

    > ----------------------------------------------------------------------

    > Thanks for you respond,

    > Let me explain it this way:

    > For example i have a button and a text in my layout:

    > each time that player touch the button, the text shows different numbers for each touch, like 1,2,3,...

    > First touch button: Text changes to 1

    > Second time touch same button: same text change to 2

    > ...etc

    > I dont know how to explain better, sorry <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad" />

    >

    it's exactly what i did in the shared .capx, have you tried it?

    Thank you very much for your help.

    meanwhile another problem is driving me crazy. i will be so so grateful if you can help me to find a solution. please see the image from link. <img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarrassed" />

    pasteboard.co/HaqjL71.jpg

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