Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow move operations on sprites #388

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Gusgo99
Copy link
Contributor

@Gusgo99 Gusgo99 commented Oct 22, 2024

  • Implementation of move operations on sprites.
  • Included size of textures inside decals to avoid accessing the sprite. Allows for drawing the decal correctly even after the sprite was deleted or moved.

…without accessing the sprite and makes it safe to move the sprite used to create de decal.

Update function from decal will also update the size to match the used sprite.
UpdateSprite will resize the sprite to the size of the decal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant