How do I erase tile aroud object with tilemap (resolved)

Get help using Construct 2

Post » Wed Apr 15, 2015 10:53 pm

Hi ....

how to clear the tiles ( tilemap) around an object..

I tried the function with "erase range" but her only takes what the opposite and negative does not work

Thx
Last edited by Mrx32 on Thu Apr 16, 2015 7:55 am, edited 1 time in total.
B
6
Posts: 31
Reputation: 862

Post » Wed Apr 15, 2015 11:46 pm

Like this?

https://www.dropbox.com/s/8rhepo8321wghfn/Capture.PNG

On whatever
(Erase tile range (Tilemap.PositionToTIleX(Player.X)-1, Tilemap.PositionToTileY(Player.Y)-1, Area 3 x 3

adjust the area values to make a larger square of tiles around the players current position
B
68
S
30
G
9
Posts: 907
Reputation: 12,322

Post » Thu Apr 16, 2015 7:53 am

Perfect thank you ... I do not have to think ..
B
6
Posts: 31
Reputation: 862


Return to How do I....?

Who is online

Users browsing this forum: clissy09, Gravity17, hyem, LaurenceBedford, oosyrag, radu191289, raulcg1981 and 6 guests