Animations are now being pulled correctly but I need to add a timing concept to animations instead of ticks.
This commit is contained in:
parent
517de91a5b
commit
c33f370572
10 changed files with 43 additions and 22 deletions
|
|
@ -42,7 +42,7 @@ TEST_CASE("animation utility API", "[animation]") {
|
|||
|
||||
anim.play();
|
||||
|
||||
while(animation::apply(anim, *blanket.sprite)) {
|
||||
while(animation::apply(anim, *blanket.sprite, {0,0})) {
|
||||
fmt::println("animation: {}", anim.subframe);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue