Jump to content

How does sprite size work exactly?


BlackMojito
 Share

Recommended Posts

In the constructor of SpriteManager, we can specify the size of its sprites. Let's say if I set it to 64, I will have 64 pixel x 64 pixel square sprites. But what is its exact size in 3D world space? If the position is (0, 0, 0), how do we calculate its exact 3D scale?

 

Or is the cellSize only used for cropping the Image?

 

I am a little bit confused...

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.

Loading...
 Share

  • Recently Browsing   0 members

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