From 511b1938046bf97295c549a263223a8bc0dce18c Mon Sep 17 00:00:00 2001 From: George Kurelic Date: Mon, 6 Nov 2023 15:28:21 -0600 Subject: [PATCH] add FlxAsepriteUtils demo (#208) * add FlxAsepriteUtils demo * improve description --- src/documents/demos/FlxAsepriteUtils.html.md | 10 ++++++++++ src/files/images/demos/FlxAsepriteUtils.png | Bin 0 -> 5628 bytes 2 files changed, 10 insertions(+) create mode 100644 src/documents/demos/FlxAsepriteUtils.html.md create mode 100644 src/files/images/demos/FlxAsepriteUtils.png diff --git a/src/documents/demos/FlxAsepriteUtils.html.md b/src/documents/demos/FlxAsepriteUtils.html.md new file mode 100644 index 000000000..e06821e30 --- /dev/null +++ b/src/documents/demos/FlxAsepriteUtils.html.md @@ -0,0 +1,10 @@ +``` +title: "FlxAsepriteUtils" +layout: demo +width: 640 +height: 480 +source: "Graphics/FlxAsepriteUtils" +targets: ['flash', 'html5'] +``` + +Showcases loading of an [Aseprite's](https://www.aseprite.org/) [sprite sheet](https://aseprite.com/docs/sprite-sheet/#texture-atlases tools) using `flixel.graphics.FlxAsepriteUtils` API added in Flixel 5.4.0. This demo uses the `loadAseAtlasAndTagsByIndex` method to create animations. \ No newline at end of file diff --git a/src/files/images/demos/FlxAsepriteUtils.png b/src/files/images/demos/FlxAsepriteUtils.png new file mode 100644 index 0000000000000000000000000000000000000000..d351693ac2ba67c6791d9d7324e0f9570a255b4d GIT binary patch literal 5628 zcmd5=2Uk;B*G@o_k*aj0sx%QnKn3X|y(2|BM7k7F=~9xYz~D$n1Ox&|?;S$TIMTax zLJ3j=gc3>;THph5zTfcPb?&-roqNhI&wkF{C&EBaotEl46#xLB)znZi1OR|9&)+{N z&U!=x>s-!0Krch}$AHp)&Q$<_xmHu@oOg)>L)>0)^-jB>J@^q)03>Kt)M~&2@ zrVp!~?2bCeobFZ#xv~CfX!Q>l8p1&{$QliTDP84+h~AULlXfY<*koA}k{5ebarUT{ z1k{Y<`=4%9f=@Sr8f^`=RgP;%k$08kSS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