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
7
S
1
Posts: 37
Reputation: 1,049

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
87
S
44
G
16
Posts: 1,002
Reputation: 17,932

Post » Thu Apr 16, 2015 7:53 am

Perfect thank you ... I do not have to think ..
B
7
S
1
Posts: 37
Reputation: 1,049


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests