Counters

Get help using Construct 2

Post » Thu May 31, 2012 10:34 pm

How do i such thing with counters.

When object overlapping a field(checker) add to score +1 (but only 1) when i drag and drop away from field remove this 1 point. When i put 3 objects to the field add 3 points and when i remove 2 objects from field substract 2 points.

Thats all.
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Thu May 31, 2012 11:01 pm

Do you mean something like this?

CountOverlapping.capx
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Thu May 31, 2012 11:02 pm

Yeah! i think this is it :)
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Thu May 31, 2012 11:07 pm

@Nimtrix You think this will be working with more other objects packed in family?delgado2012-05-31 23:09:19
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Thu May 31, 2012 11:41 pm

Sure, why not just try?

CountOverlappingFamilies.capxNimtrix2012-05-31 23:41:59
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Fri Jun 01, 2012 8:42 am

I try but i have weird effect i mean counter display always -1. and i see in your new example. U delete two first events:)
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests