Jump to content

Any chance of adding z info to object_type="point"


Rio

Recommended Posts

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...