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

Rendering sprites that are out of bounds #12

Open
1 of 2 tasks
cpbeto opened this issue Dec 24, 2024 · 0 comments
Open
1 of 2 tasks

Rendering sprites that are out of bounds #12

cpbeto opened this issue Dec 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working graphics Graphic related issues

Comments

@cpbeto
Copy link
Owner

cpbeto commented Dec 24, 2024

image

Some large sprites are not rendered properly since their position is beyond the screen limits.

Proposed solutions:

  • Render outside of the screen limits (not pretty, affects performance)
  • Preprocess map layers and crop sprites into tiles (might actually improve performance and facilitate atlases).

Related to #5.

@cpbeto cpbeto added bug Something isn't working graphics Graphic related issues labels Dec 24, 2024
@cpbeto cpbeto self-assigned this Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working graphics Graphic related issues
Projects
None yet
Development

No branches or pull requests

1 participant