-
Notifications
You must be signed in to change notification settings - Fork 136
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
Restructure Animation Component/System #4
Comments
math: merged in physics.go from oaktale; level: moved line to math
Ok, having spend even more time with animation.go I can see what you were trying to achieve there. The main issue is with increment() method which obviously processes data. However, I am slowly coming to some conclusions how I would like this to look like: For me
To understand me better you can have a look at spritesheet I found on the internet: This one is far from predictable patterns despite what it seems and Spritesheet freaks out on this even with my Region various Region tweaks. With such a spritemap the only option may be to manually define Region and then form a number of array Region from them that can be animated. Thoughts? PS. |
@matiwinnetou IMO Yes. Regions should be |
Sure. Structure the |
|
Close please. |
In the ECS paradigm components are designed to only store data, systems are supposed to manipulate this data. The current animation implementation has logic spread between the component and its related system.
The text was updated successfully, but these errors were encountered: