bjorn/tiled — Issue #113: layer pixel offset for isometric layers
Author: eropple
Created: 2011-12-01 06:59:16+00:00
State: open

Hey there! I wandered by #tiled for a bit and attempted to do this one myself, but I can't get Tiled to build on Windows because Qt loses its mind. So I figured I might drop this here, as I'd bet I'm not the only one who's wanted this.

I'd like to be able to specify an X or Y pixel offset for layers on isometric maps. (I really only need Y offsets, but somebody else might need both, and doing so would probably not be significantly trickier.) The reason for this is because I'd like to use each map layer as a "vertical" layer, such that two layers with a 'solid block' tile in the same spot on both would have them appear to be stacked, one on top of the other. To do this, it seems natural to then say "+32" (or some other value) when specifying the layers themselves, to allow the correct offsets to be displayed in Tiled. (My engine currently does this for stacked isometric layers, but editing maps is trickier that way and it'd be nice to be able to push the number of pixels to offset by into the map so it's data-driven rather than code-driven.

If anyone has a way to build this in VS2010 without the full Qt framework (slim chance, I know) I'd be happy to tackle this myself, but installing Qt just simply Would Not Work on Win7 and left me in a bit of a problematic state (so much so that I had to back up to an old restore point).

Thanks! Tiled is awesome software.