How do I compare tiles to tell how many squares make a room

Get help using Construct 2

Post » Thu Sep 10, 2015 3:19 pm

I am working on a dungeon keeper style game.
I don't have problems with AI or multiple instances
I have a claim tile, digging and a build system, where im happy with lairs and hatchery.

However i want to now make a training room. Ideally with code to compare surrounding tiles to deem room size. like 2x5, 3x3, 5x5

for example, if room size is 3x3, then create a training tool (if u have played dungeon keeper, im sure you'll know what i mean).


also, anyone know an easy method to change tiles when connected (like rpgmaker with grass connecting)
B
9
S
3
Posts: 102
Reputation: 987

Return to How do I....?

Who is online

Users browsing this forum: alextro, mikehive, Yahoo [Bot] and 9 guests