Rio Posted June 16, 2015 Report Share Posted June 16, 2015 So we are working on a game where a character is going to pickup objects. The character is a 2D sprite that can face in 8 directions. If the object is lifted while the character is facing up (so you see the back of the head) the object should be rendered behind the character and in front if the character is facing down (and you can see the character's face). We also wish to render a shadow under the object being lifted. It seems to me that the best/easiest solution for this is to include the ability to post a Z value along with x and y in the point object. Is this possible? Is there a better solution? Thanks! A Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted June 16, 2015 Report Share Posted June 16, 2015 I don't have time to check at the moment, but I think you could add it as metadata to the point... like a numeric value that can represent z-order. That make sense? That's the only solution I can think of atm. Cheers.-Mike at BrashMonkey Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.