How do i set the position of tiledbackground occupied.

Get help using Construct 2

Post » Tue Aug 23, 2016 9:33 pm

hello everyone, I have a question, im my tower defense game, i want to pose my tower in a tiledbackground position, how do I program a variable to be changed its value when you click on a tiledbackground and adds a tower that occupies the empty place on the ground this tiledbackground and arrow as it no longer be emptier such position, not allowing you to add another tower in the same place, unless you sell the tower and make that empty place.
B
32
S
9
G
3
Posts: 280
Reputation: 4,262

Post » Tue Aug 23, 2016 9:39 pm

I guess you need to use tilemap instead of tiledbackground.

With tilemap you can detect and modify what is on any square,
I don't believe you can do it with tilebackground. It is just made for visual pattern in the background.
B
8
S
4
Posts: 131
Reputation: 1,205

Post » Tue Aug 23, 2016 11:42 pm

How the TileMap works, I added an image as TileMap but the picture was all transparent in the layout.
B
32
S
9
G
3
Posts: 280
Reputation: 4,262

Post » Tue Aug 23, 2016 11:47 pm

Excuse my ignorance, now I could see here the right setting for TileMap.
B
32
S
9
G
3
Posts: 280
Reputation: 4,262

Post » Tue Aug 23, 2016 11:54 pm

Hello I am using a TileMap 80x80 how do I cover the entire area of the image, TileMap is picking up tiny pieces, but that's not what I want, I want TileMap use at once the whole picture.
B
32
S
9
G
3
Posts: 280
Reputation: 4,262


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 4 guests