Spine

From GiderosMobile
This page contains changes which are not marked for translation.


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