Isometric sort point
nicoX

I am using wade isometric plug-in for a strategy game, and I have purchased your buildings set 1 (some very nice buildings by the way, thank you).

 

But the problem is: for some buildings I cannot find a good sort point. I have attached an example here, and I have drawn a blue line where I think the sort point should be. If I set it there, then my characters appear in front of the building when they are below the line (when their feet are below the line), and they appear behind the building when they are above the line.

 

PUrHbOT.png

 

This is correct, and for most buildings it works. But here, you see those pillars at the bottom right? If I set the sort point where I think it should be, then the character appears in front of the building even when he should be behind the pillar. Should I move the sort point soemwhere else? If I move it to the bottom of the building (where it would be by default), then the character is behind the building even when he is next to the main door... how can it work?

 

All 2 Comments
Gio

Hi Nico

 

You can set a sort point for each sprite, and your object can be made of multiple sprites. If you're doing something where a single sort point wouldn't work (like your example above), then you should consider splitting the sprite into 2 parts (a left-hand part up to the door, and another part with the rest of the building). You can still have a single object, but it's an object made of 2 sprites, and so you can have 2 different sort points.

nicoX

Awesome, I didn't think you could do that. I'll try it now, thanks.

Post a reply
Add Attachment
Submit Reply
Login to Reply