Spine

From GiderosMobile
Revision as of 20:40, 24 January 2026 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.pngPlatform linux.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:

require("spine")

Methods

SpineSprite.new

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

Events

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

Constants