counter tiles

Get help using Construct 2

Post » Mon May 09, 2016 12:05 am

How to can in a tilemap destroying several tiles and for each tile destroyed add 1 to variable number?
Thanks
B
10
S
4
G
1
Posts: 80
Reputation: 1,618

Post » Fri May 13, 2016 7:44 am

any solution ?
B
10
S
4
G
1
Posts: 80
Reputation: 1,618

Post » Fri May 13, 2016 9:08 am

How do you destroy a tile ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Fri May 13, 2016 11:38 am

When player overlap tile. Tile destroy
B
10
S
4
G
1
Posts: 80
Reputation: 1,618

Post » Fri May 13, 2016 12:54 pm

Then make a global variable, or a instance variable on the player. And add 1 to it, in the same event.

With the system based action 'add to' if you choose for a global variable.
With the sprite based action 'add to' if you choose for an instance variable.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: Leef and 26 guests