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

Animated Stacked Sprites #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

caoakleyii
Copy link

Description

Added the ability for sprit3r to play and test animated stacked sprites.

It uses the existing quads table, adding all the quads to it, and displays certain quads as a stacked sprite, depending on the animation frame.

Here's a test file
laser_wall_animated

Here's a quick demo of the animation running within sprit3r

Sprit3r.2021-10-05.21-47-50.mp4

@evgiz
Copy link
Owner

evgiz commented Oct 13, 2021

This is really cool addition, awesome that people are still using sprit3r!
Perhaps a slider to change the animation speed could be a nice improvement too?

As you probably noticed I'm not actively maintaining this repo anymore, so if you plan to work more on this I could add a link to your fork in the readme if you want? Would make the process of updating everything a bit easier!

I'll merge this when I have a bit more time to test everything!

@caoakleyii
Copy link
Author

@evgiz I do have a version of this on my fork (not pushed to the repository yet) with the ability to set animation frame speed, and also toggle off/on the auto updater.

I've found that as the file sizes grow with animations, the animation gets a bit jumpy every 0.5s because of the updater.

I'll clean up that code and work on updating this PR with that over the weekend.

I'll see if I have anything else planned to add before I'd recommend updating your README.

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.

2 participants