Touch Slide - Add to players score

Get help using Construct 2

Post » Mon Mar 18, 2013 3:30 pm

I got a huge question.

I haven't been able to figure this out, maybe someone is willing to help.

When you use the touch event, and slide your finger across the screen on a phone, I would like the "score" to be a direct correlation with how long the slide was or how fast the slide was.

The catch is, I only want it to follow the Y Axis - Slide on X Axis does not count.

EX:

Person slides their finger on screen on the Y Axis, the system knows that they slid 30 pixels without letting their finger off, add 30 to players score.

Is this possible?GameThirsty2013-03-18 15:39:54
B
14
S
5
Posts: 345
Reputation: 2,427

Post » Mon Mar 18, 2013 6:07 pm

Wella. I did a test and shown result in text box.

Works like a charm. Kinda...



Uploaded with ImageShack.us
B
14
S
5
Posts: 345
Reputation: 2,427


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests