question about sprite occlusion

1 view
Skip to first unread message

billconan

unread,
Mar 31, 2010, 3:46:47 AM3/31/10
to Rokon
hello,

I'm writing a 45 degree tile based game. I don't know how to set the
depth order of the sprite such that further objects are occluded by
near objects.

It seems that the engine draws sprites in the same order of the
initial insertion of the sprites into the game scene.

if the sprites' positions have changed, do I need to sort on the depth
of the sprites or the engine handles it automatically?

Thanks.

MrChaz

unread,
Mar 31, 2010, 4:42:29 AM3/31/10
to Rokon
That's something you'll have to do yourself. The game already has the
idea of 'layer' so increasing the number of those would probably be
the easiest thing to do.
Reply all
Reply to author
Forward
0 new messages