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

Make sub-sprites first class #11

Merged
merged 3 commits into from
Jan 13, 2024
Merged

Make sub-sprites first class #11

merged 3 commits into from
Jan 13, 2024

Conversation

bhansconnect
Copy link
Collaborator

This makes using a sprite sheet much much nicer.
Just extract N sub-sprites from the sheet and use them exactly like normal sprites. No need to deal with with a separate blitSub method or doing the math in many places.

Makes animations in rocci-bird from a sprite sheet a lot cleaner overall.

This makes using a sprite sheet much much nicer.
Just extract N sub-sprites from the sheet and use them exactly like normal sprites.
No need to deal with with a separate `blitSub` method or doing the math in many places.

Makes animations in rocci-bird from a sprite sheet a lot cleaner overall.
@lukewilliamboswell lukewilliamboswell merged commit c315556 into main Jan 13, 2024
1 check passed
@lukewilliamboswell lukewilliamboswell deleted the subsprite branch January 13, 2024 20:18
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.

None yet

2 participants