How do I calculate the intersection of objects?

Get help using Construct 2

Post » Mon Apr 29, 2013 1:32 pm

Help!
How do I know how many objects of the same type (for example, 4 copies of the same square) intersect in one place when you click on them?
B
2
Posts: 2
Reputation: 154

Post » Mon Apr 29, 2013 1:49 pm

if you create an event with the condition:

+mouse|on left button clicked on object

then using 'object.pickedcount' in the action of the same event will return the amount of objects the mouse was over
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Mon Apr 29, 2013 2:36 pm

Thanks!
B
2
Posts: 2
Reputation: 154


Return to How do I....?

Who is online

Users browsing this forum: Bad Wolf, cesisco, davides, NRABrazil, Vallar, WhosWho and 30 guests