Creating a displaying a tile based map

Get help using Construct 2

Post » Sun Jul 14, 2013 11:21 pm

So, long story short, I want to make an old 2d style tile map for movement within my game. I've been looking around the forums for a while now and I haven't come across the best way to create a tile map in construct. From what I've seen, it seems that the best way may be to use a tool like Tiled, save it as an image, then set that to the background and build the objects and collisions on top of the map. Is this the best route? Or is there a better way to accomplish this?
B
4
Posts: 6
Reputation: 262

Post » Mon Jul 15, 2013 12:00 am

Turn on show grid and snap to grid, set it to your tile size and create your map in the frame editor from Sprites which have your tile images in it.
B
47
S
9
G
4
Posts: 421
Reputation: 6,949

Post » Mon Jul 15, 2013 1:00 am

I'll try that out. Thanks!
B
4
Posts: 6
Reputation: 262

Post » Mon Jul 15, 2013 9:22 am

One very important thing to know: If you are not making the game in retro stype pixel art mode, you'll want to make your tiles 1 pixel taller and wider than the grid size....in other words, if your grid size is 32x32, make your tiles 33x33, with the anchor point at top left.

This will cause an overlap of 1 pixel...otherwise, you'll get hideous seems showing up between the tiles! (Due to HWA filtering etc)

best of luck.
B
47
S
9
G
4
Posts: 421
Reputation: 6,949

Post » Mon Jul 15, 2013 10:38 am

Have you looked at the TMX importer @rexrainbow has made?
B
20
S
6
G
4
Posts: 347
Reputation: 4,441


Return to How do I....?

Who is online

Users browsing this forum: lennaert, mikva, ThePakernator and 12 guests