1.0.0 • Published 7 years ago
nilssongames-dragonfly v1.0.0
nilssongames-dragonfly
Usage
$ npm install --save nilssongames-dragonfly
import NilssongamesDragonfly from 'nilssongames-dragonfly';
export default function Dragonfly() {
return <NilssongamesDragonfly />;
}
Development
$ npm run dev
Sprite sheets & assets
- Sprite sheet data should be in JSON format in the
src
folder. meta.image
should be base64 encoded in the sprite sheet JSON.- There's an
assets
folder but it is not used directly in the app, only for saving assets to create/edit sprite sheet JSON.
Publish
$ npm version major|minor|patch
$ npm publish