Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ippan/spriterintegration
a single file script to load Spriter animations to Gideros
https://github.com/ippan/spriterintegration
gideros lua spriter
Last synced: 8 days ago
JSON representation
a single file script to load Spriter animations to Gideros
- Host: GitHub
- URL: https://github.com/ippan/spriterintegration
- Owner: ippan
- License: mit
- Created: 2015-07-18T11:36:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-25T12:54:14.000Z (over 9 years ago)
- Last Synced: 2024-10-28T12:33:49.431Z (about 2 months ago)
- Topics: gideros, lua, spriter
- Language: Lua
- Homepage:
- Size: 176 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spriter Gideros Integration
a single file script to load [Spriter](http://www.brashmonkey.com) animations to [Gideros](http://giderosmobile.com)
## Current Features
* load Spriter texture pack
* load Spriter scon file
* play object animation
* play bone animation## Install
* drop Spriter.lua to your project
## Example
local texture = Texture.new("data/bat.png")
local texture_pack = Spriter.TexturePack.new(texture, "data/bat.json")
spriter_object = Spriter.create("data/bat.scon")local sprite = spriter_object:createEntitySprite("bat")
sprite.texture_pack = texture_pack
sprite:play("idle")
stage:addChild(sprite)## Notes
images in this repository come form my game call [BaBaBear Boom](https://itunes.apple.com/app/bababear-boom/id702178407)