Skip to content

Releases: defold/extension-spine

Physics rotate function

26 Jun 08:35
42ea99c
Compare
Choose a tag to compare
  • Added new function spine.physics_rotate() which applies a physics-based translation to the Spine model:
spine.physics_rotate(self.apine_model, centerp_pos, angle_change)

Support editing GUIs with spine nodes using editor scripts

23 Jun 12:01
3713914
Compare
Choose a tag to compare

Relies on Defold 1.10.3. Example:

editor.transact({
  editor.tx.add("/main.gui", "nodes", {
    type = "gui-node-type-spine",
    spine_scene = "bg"
  })
})

Mixing and clearing spine skins at runtime and physics translate

17 Jun 12:17
ffd2a9d
Compare
Choose a tag to compare
  • Added the ability to add and copy skins to each other, as well as clear them:
spine.clear_skin(self.spine_model_id, "base_empty")
spine.add_skin(self.spine_model_id, "base_empty", "blue_head")
spine.add_skin(self.spine_model_id, "base_empty", "original_body")
spine.set_skin(self.spine_model_id, "base_empty")
  • Added new function spine.physics_translate() which applies a physics-based translation to the Spine model:
spine.physics_translate(self.model, self.translate)

Update for Defold 1.10.3+

11 Jun 07:35
ffd2a9d
Compare
Choose a tag to compare

This release relies on Defold editor version 1.10.3
This version allows editing Spine scenes of GUI nodes using editor scripts, e.g.:

editor.transact({
    editor.tx.add("/main.gui", "spine_scenes", {
        spine_scene = "/bg.spinescene"
    }),
})

Fixed Spine model selection in the Editor

05 Jun 11:39
089180b
Compare
Choose a tag to compare
  • Fixed issue where Spine model components could not be selected by clicking in the Editor

Make missing atlas images a build error in the editor

08 May 18:28
392f717
Compare
Choose a tag to compare

This release aligns the Editor's behavior with Bob's: both now treat missing images in an atlas used by a spinescene as errors.

Fix issues when masks are used

23 Apr 10:40
7c44bd7
Compare
Choose a tag to compare
  • Fixed issues where, in some cases, using animations with a mask could crash the engine

Updated for Defold 1.10.1+

10 Apr 09:23
Compare
Choose a tag to compare

The function ConstructInstanceId(index) has been replaced with the CreateInstanceId() function.

Updated for Defold 1.9.9+

19 Mar 14:14
Compare
Choose a tag to compare

Updated the DM_PROPERTY_* profiling api

3.6.5

03 Feb 12:44
b6abdb7
Compare
Choose a tag to compare

Allow copy-paste of Spine Scene resources when editing Gui scenes.