Skip to content

Another Sprite cleanup#1574

Merged
einarf merged 3 commits intodevelopmentfrom
sprite-cleanup
Feb 23, 2023
Merged

Another Sprite cleanup#1574
einarf merged 3 commits intodevelopmentfrom
sprite-cleanup

Conversation

@einarf
Copy link
Member

@einarf einarf commented Feb 23, 2023

  • Move the sprite in the spatial hash instead of removing and re-adding (5% faster)
  • Remove the generally unused methods get_position and set_position. We have the position property for this

@einarf einarf marked this pull request as ready for review February 23, 2023 10:30
@einarf einarf merged commit 9f93fd4 into development Feb 23, 2023
@einarf einarf deleted the sprite-cleanup branch February 23, 2023 10:30
@einarf einarf restored the sprite-cleanup branch February 24, 2023 12:36
@einarf einarf deleted the sprite-cleanup branch February 24, 2023 14:29
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