SpineSprite.new

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page contains changes which are not marked for translation.


Available since: Gideros 2018.12
Class: SpineSprite

Description

Create SpineSprite

(sprite) = SpineSprite.new(file,atlas,speed)

Parameters

file: (string) Spine skeleton file, in json or binary format
atlas: (string) Spine atlas file
speed: (number) Animation speed scale. Defaults to 1. optional

Return values

Returns (sprite) The SpineSprite Sprite