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
Posts: 35
Reputation: 895

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
78
S
36
G
13
Posts: 956
Reputation: 15,262

Post » Thu Apr 16, 2015 7:53 am

Perfect thank you ... I do not have to think ..
B
7
Posts: 35
Reputation: 895


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests