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

Support basic sprite animations like rotate, flicker, disappear, etc. #377

Closed
akrokho opened this issue Apr 29, 2019 · 5 comments
Closed

Comments

@akrokho
Copy link

akrokho commented Apr 29, 2019

I think that you need to add basic animations for sprites (rotation, flicker, disappearance, periodic motion, etc.). The first question is - is it necessary? Interested in your opinion (yes or no).

@pvcraven
Copy link
Member

pvcraven commented Apr 29, 2019

Some of these should just be programmed. Probably fade, rotation, periodic motion. We might need examples showing clearly how to do it.

Frame-by-frame animation should be better supported. Also, I'd like to see the animations specified in the Tiled Map Editor load by default.

@akrokho
Copy link
Author

akrokho commented Apr 29, 2019

I used to work with cocos2d library. On my view in it implemented very convenient system animations (http://python.cocos2d.org/doc/programming_guide/actions.html). To implement a similar system for the Sprite class, it seems to me quite simple (add a list of animations and implement the update_animations method). The only thing I do not know if I will not be accused of plagiarism)))

@akrokho
Copy link
Author

akrokho commented May 3, 2019

I attach an archive with an example of the implementation of simple animations. The implementation is "raw" but working. I will be glad to hear criticism and suggestions for improvement.

@akrokho
Copy link
Author

akrokho commented May 3, 2019

animations.zip

@pvcraven pvcraven changed the title Basic animations Support basic sprite animations like rotate, flicker, disappear, etc. Jan 17, 2020
@pvcraven
Copy link
Member

This enhancement is not currently in process. Please re-open if you'd like to work on it. A full list of desired enhancements is available at:

http://arcade.academy/enhancement_list.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants