diff --git a/spine-ts/package-lock.json b/spine-ts/package-lock.json index 4ea1cc7d8..a4c0f5406 100644 --- a/spine-ts/package-lock.json +++ b/spine-ts/package-lock.json @@ -1,12 +1,12 @@ { "name": "@esotericsoftware/spine-ts", - "version": "4.1.35", + "version": "4.1.36", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@esotericsoftware/spine-ts", - "version": "4.1.35", + "version": "4.1.36", "license": "LicenseRef-LICENSE", "workspaces": [ "spine-core", @@ -3735,33 +3735,33 @@ }, "spine-canvas": { "name": "@esotericsoftware/spine-canvas", - "version": "4.1.35", + "version": "4.1.36", "license": "LicenseRef-LICENSE", "dependencies": { - "@esotericsoftware/spine-core": "4.1.35" + "@esotericsoftware/spine-core": "4.1.36" } }, "spine-core": { "name": "@esotericsoftware/spine-core", - "version": "4.1.35", + "version": "4.1.36", "license": "LicenseRef-LICENSE" }, "spine-phaser": { "name": "@esotericsoftware/spine-phaser", - "version": "4.1.35", + "version": "4.1.36", "license": "LicenseRef-LICENSE", "dependencies": { - "@esotericsoftware/spine-canvas": "4.1.35", - "@esotericsoftware/spine-core": "4.1.35", - "@esotericsoftware/spine-webgl": "4.1.35" + "@esotericsoftware/spine-canvas": "4.1.36", + "@esotericsoftware/spine-core": "4.1.36", + "@esotericsoftware/spine-webgl": "4.1.36" } }, "spine-pixi": { "name": "@esotericsoftware/spine-pixi", - "version": "4.1.35", + "version": "4.1.36", "license": "LicenseRef-LICENSE", "dependencies": { - "@esotericsoftware/spine-core": "4.1.35" + "@esotericsoftware/spine-core": "4.1.36" }, "peerDependencies": { "@pixi/assets": "^7.2.4", @@ -3774,26 +3774,26 @@ }, "spine-player": { "name": "@esotericsoftware/spine-player", - "version": "4.1.35", + "version": "4.1.36", "license": "LicenseRef-LICENSE", "dependencies": { - "@esotericsoftware/spine-webgl": "4.1.35" + "@esotericsoftware/spine-webgl": "4.1.36" } }, "spine-threejs": { "name": "@esotericsoftware/spine-threejs", - "version": "4.1.35", + "version": "4.1.36", "license": "LicenseRef-LICENSE", "dependencies": { - "@esotericsoftware/spine-core": "4.1.35" + "@esotericsoftware/spine-core": "4.1.36" } }, "spine-webgl": { "name": "@esotericsoftware/spine-webgl", - "version": "4.1.35", + "version": "4.1.36", "license": "LicenseRef-LICENSE", "dependencies": { - "@esotericsoftware/spine-core": "4.1.35" + "@esotericsoftware/spine-core": "4.1.36" } } } diff --git a/spine-ts/package.json b/spine-ts/package.json index 0c6bcfbaf..ee91be5ce 100644 --- a/spine-ts/package.json +++ b/spine-ts/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-ts", - "version": "4.1.35", + "version": "4.1.36", "description": "The official Spine Runtimes for the web.", "files": [ "README.md" diff --git a/spine-ts/spine-canvas/package.json b/spine-ts/spine-canvas/package.json index abf9f9240..102d97557 100644 --- a/spine-ts/spine-canvas/package.json +++ b/spine-ts/spine-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-canvas", - "version": "4.1.35", + "version": "4.1.36", "description": "The official Spine Runtimes for the web.", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -30,6 +30,6 @@ }, "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme", "dependencies": { - "@esotericsoftware/spine-core": "4.1.35" + "@esotericsoftware/spine-core": "4.1.36" } } \ No newline at end of file diff --git a/spine-ts/spine-core/package.json b/spine-ts/spine-core/package.json index 227a0b526..426795352 100644 --- a/spine-ts/spine-core/package.json +++ b/spine-ts/spine-core/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-core", - "version": "4.1.35", + "version": "4.1.36", "description": "The official Spine Runtimes for the web.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/spine-ts/spine-phaser/example/basic-example.html b/spine-ts/spine-phaser/example/basic-example.html index 84d85ddc0..06f0d17a1 100644 --- a/spine-ts/spine-phaser/example/basic-example.html +++ b/spine-ts/spine-phaser/example/basic-example.html @@ -22,13 +22,16 @@ create() { const spineboy = this.add.spine(400, 500, 'spineboy-data', "spineboy-atlas"); - spineboy.scale = 0.5; + spineboy.setInteractive(); + spineboy.displayWidth = 200; + spineboy.displayHeight = spineboy.height / spineboy.width * 200; + this.input.enableDebug(spineboy, 0xff00ff); spineboy.animationState.setAnimation(0, "walk", true); } } - + new Phaser.Game({ - type: Phaser.AUTO, + type: Phaser.AUTO, width: 800, height: 600, type: Phaser.WEBGL, diff --git a/spine-ts/spine-phaser/package.json b/spine-ts/spine-phaser/package.json index 83b2afe05..19880a0c4 100644 --- a/spine-ts/spine-phaser/package.json +++ b/spine-ts/spine-phaser/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-phaser", - "version": "4.1.35", + "version": "4.1.36", "description": "The official Spine Runtimes for the Phaser.", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -30,8 +30,8 @@ }, "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme", "dependencies": { - "@esotericsoftware/spine-core": "4.1.35", - "@esotericsoftware/spine-webgl": "4.1.35", - "@esotericsoftware/spine-canvas": "4.1.35" + "@esotericsoftware/spine-core": "4.1.36", + "@esotericsoftware/spine-webgl": "4.1.36", + "@esotericsoftware/spine-canvas": "4.1.36" } } \ No newline at end of file diff --git a/spine-ts/spine-pixi/package.json b/spine-ts/spine-pixi/package.json index a429273ab..2091d231e 100644 --- a/spine-ts/spine-pixi/package.json +++ b/spine-ts/spine-pixi/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-pixi", - "version": "4.1.35", + "version": "4.1.36", "description": "The official Spine Runtimes for the web.", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -30,7 +30,7 @@ }, "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme", "dependencies": { - "@esotericsoftware/spine-core": "4.1.35" + "@esotericsoftware/spine-core": "4.1.36" }, "peerDependencies": { "@pixi/core": "^7.2.4", diff --git a/spine-ts/spine-player/package.json b/spine-ts/spine-player/package.json index aae887873..4bf96d04a 100644 --- a/spine-ts/spine-player/package.json +++ b/spine-ts/spine-player/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-player", - "version": "4.1.35", + "version": "4.1.36", "description": "The official Spine Runtimes for the web.", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -30,6 +30,6 @@ }, "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme", "dependencies": { - "@esotericsoftware/spine-webgl": "4.1.35" + "@esotericsoftware/spine-webgl": "4.1.36" } } \ No newline at end of file diff --git a/spine-ts/spine-threejs/package.json b/spine-ts/spine-threejs/package.json index e48c4f0f4..e89185c5c 100644 --- a/spine-ts/spine-threejs/package.json +++ b/spine-ts/spine-threejs/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-threejs", - "version": "4.1.35", + "version": "4.1.36", "description": "The official Spine Runtimes for the web.", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -30,6 +30,6 @@ }, "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme", "dependencies": { - "@esotericsoftware/spine-core": "4.1.35" + "@esotericsoftware/spine-core": "4.1.36" } } \ No newline at end of file diff --git a/spine-ts/spine-webgl/package.json b/spine-ts/spine-webgl/package.json index 50770943c..2998f485e 100644 --- a/spine-ts/spine-webgl/package.json +++ b/spine-ts/spine-webgl/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-webgl", - "version": "4.1.35", + "version": "4.1.36", "description": "The official Spine Runtimes for the web.", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -30,6 +30,6 @@ }, "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme", "dependencies": { - "@esotericsoftware/spine-core": "4.1.35" + "@esotericsoftware/spine-core": "4.1.36" } } \ No newline at end of file