Created a nice utility library for doing animations, and used it in the ritual crafting UI.
This commit is contained in:
parent
0a40135f5d
commit
1aa6674e42
14 changed files with 213 additions and 150 deletions
|
@ -123,7 +123,7 @@ namespace components {
|
|||
float subframe = 0.0f;
|
||||
bool looped = false;
|
||||
// BUG: this is weirdly not used in most animations but also named wrong should be frame_width
|
||||
int texture_width = TEXTURE_WIDTH;
|
||||
int frame_width = TEXTURE_WIDTH;
|
||||
|
||||
void play();
|
||||
float twitching();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue