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

Bullet sprite rendering #76

Open
viking-sudo-rm opened this issue Mar 5, 2020 · 1 comment
Open

Bullet sprite rendering #76

viking-sudo-rm opened this issue Mar 5, 2020 · 1 comment

Comments

@viking-sudo-rm
Copy link
Member

Should not programmatically rotate the sprites for bullets.

In this case, probably fine to not change the sprite based on the angle. But in general, for other sprite types, should not create a new copy of the sprite for each entity. Instead, we should maintain a static cache of sprites, and allow each entity to have a reference to one of these sprites.

@viking-sudo-rm
Copy link
Member Author

In general, the old homemade animation stuff is sort of clunky.

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

No branches or pull requests

1 participant