Perlin's Recent Forum Activity

  • Please do !

    I realy want rto solve this problem !

    Thank again for your help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes that's it !

    I wan't to be able to not pull up my finger quickly each time I touch a colored square.

    It's seems like the returned position is the one of the first touch each time.

    I know that there is a way to choose wich touch I want but in my case, the position that I want can be the position of the first or the second touch.

  • Thank you But it's the same.

    If I hold a colored square the returned position is the colored square's one.

    Maybe it has sometihng to do with this expression :

    Set Angle Toward (Touch.X , Touch.Y)

  • Here it is: TouchTest.capx

    Touch&Hold a button then touch the black field, you will see what I mean.

  • That's exactly what I do.

    But the probleme is that the returned position could be any of the touchs.

    because the blacksquare's touch isn't always the first touch or the only touch.

    I need a way to define touchs. A way to return position of all touchs within the black square.

    It's not a matter of 1st or 2nd touch I think.

    but it has too do with a touch within a specified area.

    (tested with cocoonJS on a Nexus 7 2013)

    Thank you for the answer anyway !

  • Hi,

    I'm new to this forum and I didn't find anything else than this (link removed) in order to help me in my quest.

    You move the GREEN DOT by touching the BLACK SURFACE.

    It means, the dot follows the finger.

    When touching the black surface, the touch position is return in order to set an angle for the bullet movement of the green dot.

    BUT

    There is button on the left that the player will touch sometimes. there is no need to let the finger on the buttons but it can happens (if the player doesn't pull his finger up).

    And that's the problem :

    If a touch is done and hold before a touch on the black surface, the returned position is the wrong one (outside of the black surface).

    I was testing with the touch manual to deal with it.

    But I'm totaly lost with the TouchCount / ID / Index expression.

    I need to always return a position within the black surface.

    I hope someone can answer me !

    Sorry if I made any mistake, I'm a french guy who really wants to learn Construct 2!

Perlin's avatar

Perlin

Member since 19 Sep, 2013

None one is following Perlin yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies