Difference between revisions of "Spine"
From GiderosMobile
(Created page with "__NOTOC__ <languages /> <!-- GIDEROSOBJ:SpineSprite --> '''<translate>Supported platforms</translate>:''' File:Platform android.pngFile:Platform ios.pngFile:Platform...") |
|||
Line 16: | Line 16: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== <translate>Methods</translate> === | === <translate>Methods</translate> === | ||
+ | [[Special:MyLanguage/SpineSprite:addAnimation|SpineSprite:addAnimation]] <br/><!-- GIDEROSMTD:SpineSprite:addAnimation(track,animation,mix,loop,delay) --> | ||
+ | [[Special:MyLanguage/SpineSprite:getBoneLocation|SpineSprite:getBoneLocation]] <br/><!-- GIDEROSMTD:SpineSprite:getBoneLocation(bone,lx,ly,lr) --> | ||
+ | [[Special:MyLanguage/SpineSprite:getSpeed|SpineSprite:getSpeed]] <br/><!-- GIDEROSMTD:SpineSprite:getSpeed() --> | ||
+ | [[Special:MyLanguage/SpineSprite.new|SpineSprite.new]] <br/><!-- GIDEROSMTD:SpineSprite.new(file,atlas,speed) --> | ||
+ | [[Special:MyLanguage/SpineSprite:setAnimation|SpineSprite:setAnimation]] <br/><!-- GIDEROSMTD:SpineSprite:setAnimation(track,animation,mix,loop) --> | ||
+ | [[Special:MyLanguage/SpineSprite:setAttachment|SpineSprite:setAttachment]] <br/><!-- GIDEROSMTD:SpineSprite:setAttachment(attachment) --> | ||
+ | [[Special:MyLanguage/SpineSprite:setSkin|SpineSprite:setSkin]] <br/><!-- GIDEROSMTD:SpineSprite:setSkin(skin) --> | ||
+ | [[Special:MyLanguage/SpineSprite:setSpeed|SpineSprite:setSpeed]] <br/><!-- GIDEROSMTD:SpineSprite:setSpeed(speed) --> | ||
+ | [[Special:MyLanguage/SpineSprite:stopAnimation|SpineSprite:stopAnimation]] <br/><!-- GIDEROSMTD:SpineSprite:stopAnimation(track,mix) --> | ||
+ | [[Special:MyLanguage/SpineSprite:setMix|SpineSprite:setMix]] <br/><!-- GIDEROSMTD:SpineSprite:setMix(anim1,anim2,mix) --> | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
+ | |||
=== <translate>Events</translate> === | === <translate>Events</translate> === | ||
=== <translate>Constants</translate> === | === <translate>Constants</translate> === | ||
|} | |} |
Revision as of 15:10, 3 December 2018
Supported platforms:
Available since: Gideros 2018.12
Inherits from: Sprite
Description
The Spine plugin is kind of 'preview' at the moment, current API is limited and could be improved over time
Spine plugin allows to load files created with Esoteric Software Spine utility. It exposes a specific Sprite type, SpineSprite. To use it, require spine plugin for lua as usual:require("spine")