Closed JRileyH closed 5 years ago
Ensure that animations that are run one time through (playerSquat) gets reset to frame 0 when it's called again. Currently there is a bug where one subsequent calls of setAnimation the player goes immediately to the last frame.
https://github.com/Sleepy-Fish/GameJam/blob/riley/entity-rework/src/entities/EntityAnimation.js#L37
Fixed in the midst of building out entity rework.
Ensure that animations that are run one time through (playerSquat) gets reset to frame 0 when it's called again. Currently there is a bug where one subsequent calls of setAnimation the player goes immediately to the last frame.