Skip to content

Spine (experimental) Reference

Displays a Spine animation. Read more explanations about it.

Spine (experimental)

Display and smoothly animate a 2D object with skeletal animations made with Spine. Use files exported from Spine (json, atlas and image).

Object properties

  • Scale (🔢 Number). Default value is 1.
  • Spine json (🗂️ Resource).
See internal technical details
  • Scale is stored as scale (number). Default value is 1.
  • Spine json is stored as spineResourceName (resource). Default value is ``.

Object actions

Animation mixing duration
Change the duration of the smooth transition between 2 animations (in second).

See parameters & details
  • Parameter 0 (👾 Object): Spine
  • Parameter 1: 🟰 Operator
  • Parameter 2 (🔢 Number): Value

Technical note: this action internal type (in GDevelop JSON) is SpineObject::SpineObject::SetAnimation.

Object conditions

Animation mixing duration
Compare the duration of the smooth transition between 2 animations (in second).

See parameters & details
  • Parameter 0 (👾 Object): Spine
  • Parameter 1: 🟰 Relational operator
  • Parameter 2 (🔢 Number): Value to compare

Technical note: this condition internal type (in GDevelop JSON) is SpineObject::SpineObject::Animation.

Point attachment X position
Compare x position of spine point attachment.

See parameters & details
  • Parameter 0 (👾 Object): Spine
  • Parameter 1 (🔤 String): Attachment name
  • Parameter 2 (🔤 String): Slot name (use "" if names are the same)
  • Parameter 3: 🟰 Relational operator
  • Parameter 4 (🔢 Number): Value to compare

Technical note: this condition internal type (in GDevelop JSON) is SpineObject::SpineObject::PointAttachmentX.

Point attachment Y position
Compare y position of spine point attachment.

See parameters & details
  • Parameter 0 (👾 Object): Spine
  • Parameter 1 (🔤 String): Attachment name
  • Parameter 2 (🔤 String): Slot name (use "" if names are the same)
  • Parameter 3: 🟰 Relational operator
  • Parameter 4 (🔢 Number): Value to compare

Technical note: this condition internal type (in GDevelop JSON) is SpineObject::SpineObject::PointAttachmentY.

Object expressions

Expression Description
Object.Animation() Return the duration of the smooth transition between 2 animations (in second).
Object.PointAttachmentX(string, string) Return x position of spine point attachment.
🔤 String Attachment name
🔤 String Slot name (use "" if names are the same)
Object.PointAttachmentY(string, string) Return y position of spine point attachment.
🔤 String Attachment name
🔤 String Slot name (use "" if names are the same)

The Spine (experimental) extension is always installed in all GDevelop projects: there is no need to add it from the Project Manager.

This page is an auto-generated reference page about the Spine (experimental) feature of GDevelop, the open-source, AI-powered, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.