[Solved]Place object relative to a tile [roguelite]

Get help using Construct 2

Post » Wed Oct 22, 2014 11:40 pm

You can have it check the value of a tile, you make a loop that goes through each tile once after creating them, and if its equal to the value you want, then you can make it do something.... i think i have an example capx. lemme find it
B
87
S
44
G
16
Posts: 1,005
Reputation: 17,938

Post » Wed Oct 22, 2014 11:47 pm

check this out

https://dl.dropboxusercontent.com/u/403350/example.capx

See how i looped through the tilemap and if the tile was a "sign" tile, it placed a red solid square overtop.
B
87
S
44
G
16
Posts: 1,005
Reputation: 17,938

Post » Thu Oct 23, 2014 12:09 am

@justifun

those lines are there because i mess up the image, the tiles was 32x32 but i needed a 16x16 so i just resize then for a small size, no big deal since i'll change it later

if you have a capx with a example it would be great, thanks
B
48
S
5
G
6
Posts: 210
Reputation: 6,297

Post » Thu Oct 23, 2014 12:20 am

@justifun

geez, nice and simple, thank you very much man
B
48
S
5
G
6
Posts: 210
Reputation: 6,297

Previous

Return to How do I....?

Who is online

Users browsing this forum: uzumiapps and 26 guests