Spine

From GiderosMobile
Revision as of 14:33, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Supported platforms: Platform android.pngPlatform ios.pngPlatform html5.png
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")

Methods

SpineSprite:addAnimation
SpineSprite:getBoneLocation
SpineSprite:getSpeed
SpineSprite.new
SpineSprite:setAnimation
SpineSprite:setAttachment
SpineSprite:setSkin
SpineSprite:setSpeed
SpineSprite:stopAnimation
SpineSprite:setMix

Events

Event.ANIMATION_START
Event.ANIMATION_INTERRUPT
Event.ANIMATION_END
Event.ANIMATION_DISPOSE
Event.ANIMATION_COMPLETE

Constants