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

Implement support for multiple sprites per frame in animations #16

Closed
rozniak opened this issue Jan 5, 2021 · 2 comments
Closed

Implement support for multiple sprites per frame in animations #16

rozniak opened this issue Jan 5, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@rozniak
Copy link
Owner

rozniak commented Jan 5, 2021

There is a requirement that multiple separate sprites (on the same atlas) be used during individual frames of an animation. This issue to track progress on that feature.

Shouldn't be too hard, just extending the JSON format and ActorAnimationFrame.

@rozniak
Copy link
Owner Author

rozniak commented Jan 7, 2021

I have begun work on this - support exists in the models/code in the repo (under the feat-16 branch) now, it just needs testing. I will update the data in Junkbot as part of rozniak/Junkbot#18 to test the code works as intended.

@rozniak
Copy link
Owner Author

rozniak commented Jan 7, 2021

Also for clarity, mentions of 'Actor' have been removed from the class names. The classes simply animate sprites and are generic, as a result I have renamed them to the form SpriteAnimation, SpriteAnimationStore etc.

The namespace is now Oddmatics.Rzxe.Game.Animation as well.

@rozniak rozniak closed this as completed in 0662331 Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant