Add ability to import tags from Aseprite as non-looping #43
Labels
🐞 Bug
A bug has been identified and need to be fixed.
🔺 Priority: High
The issue or pull request made needs to be resolved as soon as possible.
✈ Status: In Progress
This issue or pull request is currently being worked on.
Milestone
Description
In the previous version of
MonoGame.Aseprite
it was possible to add the text[oneshot]
to a tag in Aseprite, and then when it was imported, it was imported as a non-looping animation.This was not carried over with the Version 4.0.0 update and should be re-implemented.
Steps to Reproduce
[oneshot]
at the end of the name. (e.g.open_door[oneshot]
AsepriteFile.Load()
SpriteSheet
with theSpriteSheetProcessor
AnimatedSprite
based on theopen_door
tagAnimatedSprite
in theUpdate
method and draw it in theDraw
methodExpected Behavior
Since the tag has
[oneshot]
at the end of the name, it's expected it to not loop in line with the previous version of the library.Actual Behavior
The animation continues to loop
Configuration
Other Information
No other information to provide.
The text was updated successfully, but these errors were encountered: