How do I track player motions and award points based on angl

Get help using Construct 2

Post » Fri Jan 09, 2015 10:20 pm

I have a player object that is able to move in different ways, circles, ellipses, acute and obtuse angles. I had an idea where when the player object makes a 90 degree turn or another pre-set angle, that the I could write some detection in that notices a right angle movement path has been created, and awards points.

Not sure if this is possible or feasible, but Im curious none the less!
You do not have the required permissions to view the files attached to this post.
B
11
S
2
Posts: 40
Reputation: 680

Post » Sat Jan 10, 2015 7:36 am

Solved this, using tiny grid of sprites, a counter and a math function that measured the angle between sprites that had spawned another invisible sprite upon detection.
B
11
S
2
Posts: 40
Reputation: 680


Return to How do I....?

Who is online

Users browsing this forum: SnipG and 13 guests