Skip to content

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