Considerations for Overlapping Tiles
BlitzMax Forums/BlitzMax Beginners Area/Considerations for Overlapping Tiles
| ||
Hey all. I'm putting together a game that utilises a tile map, but I wanted to add a bit of psuedo-3d element to it by using tiles like this (sort of!) 0000000000 0000000000 0000000000 8888888888 8888888888 Whereby the '0's' are the top of the block and the '8's are the front of the block. My tiles are 64x64, but on each of them, 20 pixels make up the front part. So, my tilemap would be a series of 64x44 sized 'squares' that hold 64x64 sized tiles. Does that make sense? I just wanted to check if anyone has done this sort of thing before (almost definitely) but moreso if I need to consider anything further? Might I get into problems with clipping etc, dependant on how I draw my tiles? I guess the best way to tease out any issues is to give it a go! Which I'm going to do now... :) |
| ||
I think most would just use 64x64 tiles and then have a separate tilemap for collisions, which can give you a height offset or something per tile. |
| ||
I think I get what you mean - a sort of additional tilemap drawn on top of the main one? |