Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 923 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 923 Bytes

flxgif

Yagp's Gif Player for HaxeFlixel.

Installation

You can install it through Haxelib

haxelib install flxgif

Or through Git, if you want the latest updates

haxelib git flxgif https://github.com/MAJigsaw77/flxgif.git

Basic Usage Example

import flxgif.FlxGifSprite;

var gif:FlxGifSprite = new FlxGifSprite(0, 0);
gif.loadGif('assets/file.gif');
gif.screenCenter();
gif.antialiasing = true;
add(gif);

Tip

Don't use gif files that are really big or that have alot of frames, Yagp will not work so well and will cause lag.

Licensing

flxgif is made available under the MIT License. Check LICENSE for more information.