Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - iamfeneq

Pages: [1]
1
Support / Segmented Sprites - Layering issues!
« on: December 30, 2012, 09:28:11 am »
Hey there!

Purchased 2DTK about 2 days ago and so far I'm loving it. 2DTK seems to take care of layering sprites automatically, in that the sprites won't sit on the same Z causing the mesh/texture to start flickering. That's good. Problem now is that with segmented sprites (as seen in the spider video found here: http://www.youtube.com/watch?v=xnmCtz4VJbY) the segmented sprite pieces are not layering together! Simply moving the parent object on the Z-axis does work but seeing as I'm going to be spawning many of these guys and the AI will control their position (in which they will sit on top of each other) I will need some way to dynamically move their z position. How does 2DTK manage this sort of layering and can I somehow adapt it to my segmented sprites?

Here are some screens:

Issue:
 

How I want them to look:
 

Would be nice if I can get them to work like regular sprites but if not I'll just write some code to spawn them on a different position on z. Maybes that's what I should be doing anyways...

Pages: [1]