AsepriteNativeParser parsing Forward AnimationTypes to AnimationStrategy.End
dericatienza opened this issue · 2 comments
The current behaviour of AsepriteNativeParser
is to set animations' strategy
to AnimationStrategy.End
when its type is AnimationTypes.Forward
. This is inconsistent with. AsepriteJsonParser
which sets the strategy
to AnimationStrategy.Loop
by default or when the tag direction is 'forward'.
I suggest updating AsepriteNativeParser
to follow the same behaviour and set animations strategy
to AnimationStrategy.Loop
by default.
AsepriteNativeParser
's strategy setting logic:
excalibur-aseprite/src/AsepriteNativeParser.ts
Lines 96 to 101 in e27ae18
AsepriteJsonParser
's strategy setting logic:
excalibur-aseprite/src/AsepriteJsonParser.ts
Lines 54 to 64 in e27ae18
@dericatienza Good find! Definitely agree and want these to be consistent!
Great! I submitted a PR #201.