Commit ab5bcad
Fix for Walking and Hurt Down Last Animations (#26)
* Fix Walking and Hurt Down Last Animations
All animations that have a Col offset were double skipping past those frames (Walking was skipping the first frame, and Hurt Down Last skipped to 5 frames after the target)
* Frame offsets fix for reverse animations
The loop in the AddAnimation function uses range(x,y,z) where y is a "up to but not including" so we need to go below 0. As mentioned, the column is already included in the Rect2 function in "GetSpriteRect", so is unecessary.
---------
Co-authored-by: Lou Bernardi <[email protected]>1 parent e3636c2 commit ab5bcad
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
| 102 | + | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments