flame_kenney_xml

Last updated:

0 purchases

flame_kenney_xml Image
flame_kenney_xml Images
Add to Cart

Description:

flame kenney xml

Adds support for parsing XML sprite sheets from https://kenney.nl, and other sprite sheets on the same format.










Getting started #
To get started, first add flame_kenney_xml as a dependency in your flutter project.
flutter pub add flame_kenney_xml
copied to clipboard
Then place the spritesheet.json in assets/ and spritesheet.png in assets/images/
(or whatever the names of the files are).
Then load the image and the spritesheet using:
final spritesheet = await XmlSpriteSheet.load(
image: 'spritesheet.png',
xml: 'spritesheet.xml`,
);
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.