How do I set tile map tile to other tiles around it?

Get help using Construct 2

Post » Tue Apr 14, 2015 9:58 pm

I want to make some of my tilemap tiles join together.

I have this as my tilemap, with each tile can be used for different possibilities of surrounding tile.

Image

Is there an easy way to go about selecting the tile to use given the 8 surrounding tiles?

...or should I just use one tile that can tile nicely?
Nothing goes unanswered!
B
24
S
5
G
1
Posts: 434
Reputation: 3,446

Post » Wed Apr 15, 2015 1:18 pm

Someone posted this at some point and guess that is what you are referring to? Which is the best way to do it I think.
http://www.saltgames.com/2010/a-bitwise-method-for-applying-tilemaps/

Otherwise you could hardcode it yourself, by just going through the tilemap, tile by tile and setup all the rules you need. But again would use the method in the link.
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Wed Apr 15, 2015 1:57 pm

Here's a thread with an example of the method nimos100 linked to:


This tutorial does something similar, but is for tiles generated by autotilegen
B
63
S
19
G
8
Posts: 341
Reputation: 12,130

Post » Wed Apr 15, 2015 3:38 pm

After reading these I think I'll use the second idea of not having the tiles join as I want to have many tiles and the number of connecting tiles would be too much.
Nothing goes unanswered!
B
24
S
5
G
1
Posts: 434
Reputation: 3,446


Return to How do I....?

Who is online

Users browsing this forum: adventurist, Artcadev, Blendi1223, brunopalermo, PROxMTswatTR and 21 guests