Author Topic: Loading animation with different files  (Read 1324 times)

eduardonunesp

  • Member
  • **
  • Posts: 55
  • Karma: +0/-0
    • View Profile
    • Blog Dream Escape.
Loading animation with different files
« on: Mon, Jan 16, 2012 »
Hi, everybody

Such a long a time ago from my last contribution, so i returned to use flixel, and have a new contribution:
https://github.com/eduardonunesp/flixel/blob/master/org/flixel/FlxSprite.as

Now it's possible to load a animation from different files:

Code: [Select]
var sprite:FlxSprite = new FlxSprite(0, 0);
sprite.loadGraphics([Assets.image1, Assets.image2], true);