Jump to content

Recommended Posts

Posted

The reason this is so, is I was not 100% sure how this should be handled. Entity scale is a 3D factor and sprite size is a 2D factor. The shader does not have access to the sprite's local orientation, just its global 4x4 matrix. It could extract the global scale on the X and Y axes and use that to resize the sprite, but if it is parented to another entity, it is possible that the parent entity's scale could skew that in strange ways. Perhaps instead of using scale, there should be a sprite:SetSize() command that modifies the sprite mesh?

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

Okay, downloads system is pretty much done and I will be back to bug fixing starting tomorrow. Thank you for your patience.

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

  • Solution
Posted

Sprites have been revised and an adjustable size is now available, in code and in the entity properties in the editor.

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

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.

×
×
  • Create New...