浏览代码

Updated Spine model to 4.1

Fixes #34
Björn Ritzl 2 年之前
父节点
当前提交
817dd234fb

+ 78 - 70
assets/spineboy/spineboy.spinejson

@@ -1,7 +1,7 @@
 {
 {
 "skeleton": {
 "skeleton": {
-	"hash": "IQgkYFQG8ng",
-	"spine": "4.0.31",
+	"hash": "itfFESDjM1c",
+	"spine": "4.1.19",
 	"x": -188.63,
 	"x": -188.63,
 	"y": -7.94,
 	"y": -7.94,
 	"width": 418.45,
 	"width": 418.45,
@@ -2427,19 +2427,19 @@
 			"side-glow1": {
 			"side-glow1": {
 				"attachment": [
 				"attachment": [
 					{ "name": "hoverglow-small" },
 					{ "name": "hoverglow-small" },
-					{ "time": 0.9667, "name": null }
+					{ "time": 0.9667 }
 				]
 				]
 			},
 			},
 			"side-glow2": {
 			"side-glow2": {
 				"attachment": [
 				"attachment": [
 					{ "time": 0.0667, "name": "hoverglow-small" },
 					{ "time": 0.0667, "name": "hoverglow-small" },
-					{ "time": 1, "name": null }
+					{ "time": 1 }
 				]
 				]
 			},
 			},
 			"side-glow3": {
 			"side-glow3": {
 				"attachment": [
 				"attachment": [
 					{ "name": "hoverglow-small" },
 					{ "name": "hoverglow-small" },
-					{ "time": 0.9667, "name": null }
+					{ "time": 0.9667 }
 				]
 				]
 			}
 			}
 		},
 		},
@@ -3479,60 +3479,68 @@
 				{ "mixX": 0, "mixScaleX": 0, "mixShearY": 0 }
 				{ "mixX": 0, "mixScaleX": 0, "mixShearY": 0 }
 			]
 			]
 		},
 		},
-		"deform": {
+		"attachments": {
 			"default": {
 			"default": {
 				"front-foot": {
 				"front-foot": {
-					"front-foot": [
-						{
-							"offset": 26,
-							"vertices": [ -0.02832, -5.37024, -0.02832, -5.37024, 3.8188, -3.7757, -0.02832, -5.37024, -3.82159, 3.77847 ]
-						}
-					]
+					"front-foot": {
+						"deform": [
+							{
+								"offset": 26,
+								"vertices": [ -0.02832, -5.37024, -0.02832, -5.37024, 3.8188, -3.7757, -0.02832, -5.37024, -3.82159, 3.77847 ]
+							}
+						]
+					}
 				},
 				},
 				"front-shin": {
 				"front-shin": {
-					"front-shin": [
-						{
-							"offset": 14,
-							"vertices": [ 0.5298, -1.12677, -0.85507, -4.20587, -11.35158, -10.19225, -10.79865, -8.43765, -6.06447, -6.89757, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.54892, -3.06021, 1.48463, -2.29663, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4.80437, -7.01817 ]
-						},
-						{
-							"time": 0.3667,
-							"offset": 14,
-							"vertices": [ 0.5298, -1.12677, -11.66571, -9.07211, -25.65866, -17.53735, -25.53217, -16.50978, -11.78232, -11.26097, 0, 0, 0.60487, -1.63589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.60487, -1.63589, 0, 0, -2.64522, -7.35739, 1.48463, -2.29663, 0, 0, 0, 0, 0, 0, 0.60487, -1.63589, 0.60487, -1.63589, 0.60487, -1.63589, 0.60487, -1.63589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.60487, -1.63589, 0, 0, -10.06873, -12.0999 ]
-						},
-						{
-							"time": 0.5333,
-							"offset": 14,
-							"vertices": [ 0.5298, -1.12677, -0.85507, -4.20587, -7.00775, -8.24771, -6.45482, -6.49312, -6.06447, -6.89757, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.54892, -3.06021, 1.48463, -2.29663, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4.80437, -7.01817 ]
-						},
-						{
-							"time": 1,
-							"offset": 14,
-							"vertices": [ 0.5298, -1.12677, -0.85507, -4.20587, -11.35158, -10.19225, -10.79865, -8.43765, -6.06447, -6.89757, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.54892, -3.06021, 1.48463, -2.29663, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4.80437, -7.01817 ]
-						}
-					]
+					"front-shin": {
+						"deform": [
+							{
+								"offset": 14,
+								"vertices": [ 0.5298, -1.12677, -0.85507, -4.20587, -11.35158, -10.19225, -10.79865, -8.43765, -6.06447, -6.89757, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.54892, -3.06021, 1.48463, -2.29663, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4.80437, -7.01817 ]
+							},
+							{
+								"time": 0.3667,
+								"offset": 14,
+								"vertices": [ 0.5298, -1.12677, -11.66571, -9.07211, -25.65866, -17.53735, -25.53217, -16.50978, -11.78232, -11.26097, 0, 0, 0.60487, -1.63589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.60487, -1.63589, 0, 0, -2.64522, -7.35739, 1.48463, -2.29663, 0, 0, 0, 0, 0, 0, 0.60487, -1.63589, 0.60487, -1.63589, 0.60487, -1.63589, 0.60487, -1.63589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.60487, -1.63589, 0, 0, -10.06873, -12.0999 ]
+							},
+							{
+								"time": 0.5333,
+								"offset": 14,
+								"vertices": [ 0.5298, -1.12677, -0.85507, -4.20587, -7.00775, -8.24771, -6.45482, -6.49312, -6.06447, -6.89757, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.54892, -3.06021, 1.48463, -2.29663, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4.80437, -7.01817 ]
+							},
+							{
+								"time": 1,
+								"offset": 14,
+								"vertices": [ 0.5298, -1.12677, -0.85507, -4.20587, -11.35158, -10.19225, -10.79865, -8.43765, -6.06447, -6.89757, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.54892, -3.06021, 1.48463, -2.29663, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4.80437, -7.01817 ]
+							}
+						]
+					}
 				},
 				},
 				"hoverboard-board": {
 				"hoverboard-board": {
-					"hoverboard-board": [
-						{
-							"curve": [ 0.067, 0, 0.2, 1 ]
-						},
-						{
-							"time": 0.2667,
-							"offset": 1,
-							"vertices": [ 2.45856, 0, 0, 0, 0, 0, 0, 0, 0, 3.55673, -3.0E-4, 3.55673, -3.0E-4, 0, 0, 0, 0, 0, 0, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, 0, 0, 0, 0, 0, 0, 0, 0, -4.90558, 0.11214, -9.40706, 6.2E-4, -6.34871, 4.3E-4, -6.34925, -6.57018, -6.34925, -6.57018, -6.34871, 4.3E-4, -2.3308, 1.7E-4, -2.33133, -6.57045, -2.33133, -6.57045, -2.3308, 1.7E-4, 0, 0, 1.2E-4, 2.45856, 1.2E-4, 2.45856, 1.2E-4, 2.45856, 1.2E-4, 2.45856, 3.3297, 4.44005, 3.3297, 4.44005, 3.3297, 4.44005, 1.2E-4, 2.45856, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2.46227, 1.7E-4, -2.46227, 1.7E-4, -2.52316, 1.1313, -2.52316, 1.1313, -2.52316, 1.1313, 1.2E-4, 2.45856, 1.2E-4, 2.45856, -9.40694, 2.45918, 1.88063, 0.44197, -2.9E-4, -3.54808, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2.52316, 1.1313, -2.52316, 1.1313, -2.52316, 1.1313, -2.46227, 1.7E-4, -2.46227, 1.7E-4, -2.46227, 1.7E-4, 0, 0, 0, 0, 1.2E-4, 2.45856 ],
-							"curve": [ 0.45, 0, 0.817, 1 ]
-						},
-						{ "time": 1 }
-					]
+					"hoverboard-board": {
+						"deform": [
+							{
+								"curve": [ 0.067, 0, 0.2, 1 ]
+							},
+							{
+								"time": 0.2667,
+								"offset": 1,
+								"vertices": [ 2.45856, 0, 0, 0, 0, 0, 0, 0, 0, 3.55673, -3.0E-4, 3.55673, -3.0E-4, 0, 0, 0, 0, 0, 0, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, -7.6E-4, -9.84158, 0, 0, 0, 0, 0, 0, 0, 0, -4.90558, 0.11214, -9.40706, 6.2E-4, -6.34871, 4.3E-4, -6.34925, -6.57018, -6.34925, -6.57018, -6.34871, 4.3E-4, -2.3308, 1.7E-4, -2.33133, -6.57045, -2.33133, -6.57045, -2.3308, 1.7E-4, 0, 0, 1.2E-4, 2.45856, 1.2E-4, 2.45856, 1.2E-4, 2.45856, 1.2E-4, 2.45856, 3.3297, 4.44005, 3.3297, 4.44005, 3.3297, 4.44005, 1.2E-4, 2.45856, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2.46227, 1.7E-4, -2.46227, 1.7E-4, -2.52316, 1.1313, -2.52316, 1.1313, -2.52316, 1.1313, 1.2E-4, 2.45856, 1.2E-4, 2.45856, -9.40694, 2.45918, 1.88063, 0.44197, -2.9E-4, -3.54808, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2.52316, 1.1313, -2.52316, 1.1313, -2.52316, 1.1313, -2.46227, 1.7E-4, -2.46227, 1.7E-4, -2.46227, 1.7E-4, 0, 0, 0, 0, 1.2E-4, 2.45856 ],
+								"curve": [ 0.45, 0, 0.817, 1 ]
+							},
+							{ "time": 1 }
+						]
+					}
 				},
 				},
 				"rear-foot": {
 				"rear-foot": {
-					"rear-foot": [
-						{
-							"offset": 28,
-							"vertices": [ -1.93078, 1.34782, -0.31417, 2.33363, 3.05122, 0.33946, 2.31472, -2.01678, 2.17583, -2.05795, -0.04277, -2.99459, 1.15429, 0.26328, 0.97501, -0.67169 ]
-						}
-					]
+					"rear-foot": {
+						"deform": [
+							{
+								"offset": 28,
+								"vertices": [ -1.93078, 1.34782, -0.31417, 2.33363, 3.05122, 0.33946, 2.31472, -2.01678, 2.17583, -2.05795, -0.04277, -2.99459, 1.15429, 0.26328, 0.97501, -0.67169 ]
+							}
+						]
+					}
 				}
 				}
 			}
 			}
 		}
 		}
@@ -5203,7 +5211,7 @@
 			"portal-bg": {
 			"portal-bg": {
 				"attachment": [
 				"attachment": [
 					{ "name": "portal-bg" },
 					{ "name": "portal-bg" },
-					{ "time": 3, "name": null }
+					{ "time": 3 }
 				]
 				]
 			},
 			},
 			"portal-flare1": {
 			"portal-flare1": {
@@ -5214,7 +5222,7 @@
 					{ "time": 1.2, "name": "portal-flare1" },
 					{ "time": 1.2, "name": "portal-flare1" },
 					{ "time": 1.2333, "name": "portal-flare2" },
 					{ "time": 1.2333, "name": "portal-flare2" },
 					{ "time": 1.2667, "name": "portal-flare1" },
 					{ "time": 1.2667, "name": "portal-flare1" },
-					{ "time": 1.3333, "name": null }
+					{ "time": 1.3333 }
 				]
 				]
 			},
 			},
 			"portal-flare2": {
 			"portal-flare2": {
@@ -5224,14 +5232,14 @@
 					{ "time": 1.1667, "name": "portal-flare1" },
 					{ "time": 1.1667, "name": "portal-flare1" },
 					{ "time": 1.2, "name": "portal-flare2" },
 					{ "time": 1.2, "name": "portal-flare2" },
 					{ "time": 1.2333, "name": "portal-flare3" },
 					{ "time": 1.2333, "name": "portal-flare3" },
-					{ "time": 1.2667, "name": null }
+					{ "time": 1.2667 }
 				]
 				]
 			},
 			},
 			"portal-flare3": {
 			"portal-flare3": {
 				"attachment": [
 				"attachment": [
 					{ "time": 1.2, "name": "portal-flare3" },
 					{ "time": 1.2, "name": "portal-flare3" },
 					{ "time": 1.2333, "name": "portal-flare2" },
 					{ "time": 1.2333, "name": "portal-flare2" },
-					{ "time": 1.2667, "name": null }
+					{ "time": 1.2667 }
 				]
 				]
 			},
 			},
 			"portal-flare4": {
 			"portal-flare4": {
@@ -5239,33 +5247,33 @@
 					{ "time": 1.2, "name": "portal-flare2" },
 					{ "time": 1.2, "name": "portal-flare2" },
 					{ "time": 1.2333, "name": "portal-flare1" },
 					{ "time": 1.2333, "name": "portal-flare1" },
 					{ "time": 1.2667, "name": "portal-flare2" },
 					{ "time": 1.2667, "name": "portal-flare2" },
-					{ "time": 1.3333, "name": null }
+					{ "time": 1.3333 }
 				]
 				]
 			},
 			},
 			"portal-flare5": {
 			"portal-flare5": {
 				"attachment": [
 				"attachment": [
 					{ "time": 1.2333, "name": "portal-flare3" },
 					{ "time": 1.2333, "name": "portal-flare3" },
 					{ "time": 1.2667, "name": "portal-flare1" },
 					{ "time": 1.2667, "name": "portal-flare1" },
-					{ "time": 1.3333, "name": null }
+					{ "time": 1.3333 }
 				]
 				]
 			},
 			},
 			"portal-flare6": {
 			"portal-flare6": {
 				"attachment": [
 				"attachment": [
 					{ "time": 1.2667, "name": "portal-flare3" },
 					{ "time": 1.2667, "name": "portal-flare3" },
-					{ "time": 1.3333, "name": null }
+					{ "time": 1.3333 }
 				]
 				]
 			},
 			},
 			"portal-flare7": {
 			"portal-flare7": {
 				"attachment": [
 				"attachment": [
 					{ "time": 1.1333, "name": "portal-flare2" },
 					{ "time": 1.1333, "name": "portal-flare2" },
-					{ "time": 1.1667, "name": null }
+					{ "time": 1.1667 }
 				]
 				]
 			},
 			},
 			"portal-flare8": {
 			"portal-flare8": {
 				"attachment": [
 				"attachment": [
 					{ "time": 1.2, "name": "portal-flare3" },
 					{ "time": 1.2, "name": "portal-flare3" },
 					{ "time": 1.2333, "name": "portal-flare2" },
 					{ "time": 1.2333, "name": "portal-flare2" },
-					{ "time": 1.2667, "name": null }
+					{ "time": 1.2667 }
 				]
 				]
 			},
 			},
 			"portal-flare9": {
 			"portal-flare9": {
@@ -5273,7 +5281,7 @@
 					{ "time": 1.2, "name": "portal-flare2" },
 					{ "time": 1.2, "name": "portal-flare2" },
 					{ "time": 1.2333, "name": "portal-flare3" },
 					{ "time": 1.2333, "name": "portal-flare3" },
 					{ "time": 1.2667, "name": "portal-flare1" },
 					{ "time": 1.2667, "name": "portal-flare1" },
-					{ "time": 1.3, "name": null }
+					{ "time": 1.3 }
 				]
 				]
 			},
 			},
 			"portal-flare10": {
 			"portal-flare10": {
@@ -5281,25 +5289,25 @@
 					{ "time": 1.2, "name": "portal-flare2" },
 					{ "time": 1.2, "name": "portal-flare2" },
 					{ "time": 1.2333, "name": "portal-flare1" },
 					{ "time": 1.2333, "name": "portal-flare1" },
 					{ "time": 1.2667, "name": "portal-flare3" },
 					{ "time": 1.2667, "name": "portal-flare3" },
-					{ "time": 1.3, "name": null }
+					{ "time": 1.3 }
 				]
 				]
 			},
 			},
 			"portal-shade": {
 			"portal-shade": {
 				"attachment": [
 				"attachment": [
 					{ "name": "portal-shade" },
 					{ "name": "portal-shade" },
-					{ "time": 3, "name": null }
+					{ "time": 3 }
 				]
 				]
 			},
 			},
 			"portal-streaks1": {
 			"portal-streaks1": {
 				"attachment": [
 				"attachment": [
 					{ "name": "portal-streaks1" },
 					{ "name": "portal-streaks1" },
-					{ "time": 3, "name": null }
+					{ "time": 3 }
 				]
 				]
 			},
 			},
 			"portal-streaks2": {
 			"portal-streaks2": {
 				"attachment": [
 				"attachment": [
 					{ "name": "portal-streaks2" },
 					{ "name": "portal-streaks2" },
-					{ "time": 3, "name": null }
+					{ "time": 3 }
 				]
 				]
 			}
 			}
 		},
 		},
@@ -7696,7 +7704,7 @@
 					{ "time": 0.1, "name": "muzzle03" },
 					{ "time": 0.1, "name": "muzzle03" },
 					{ "time": 0.1333, "name": "muzzle04" },
 					{ "time": 0.1333, "name": "muzzle04" },
 					{ "time": 0.1667, "name": "muzzle05" },
 					{ "time": 0.1667, "name": "muzzle05" },
-					{ "time": 0.2, "name": null }
+					{ "time": 0.2 }
 				]
 				]
 			},
 			},
 			"muzzle-glow": {
 			"muzzle-glow": {
@@ -7725,7 +7733,7 @@
 				],
 				],
 				"attachment": [
 				"attachment": [
 					{ "time": 0.0333, "name": "muzzle-ring" },
 					{ "time": 0.0333, "name": "muzzle-ring" },
-					{ "time": 0.2333, "name": null }
+					{ "time": 0.2333 }
 				]
 				]
 			},
 			},
 			"muzzle-ring2": {
 			"muzzle-ring2": {
@@ -7739,7 +7747,7 @@
 				],
 				],
 				"attachment": [
 				"attachment": [
 					{ "time": 0.0333, "name": "muzzle-ring" },
 					{ "time": 0.0333, "name": "muzzle-ring" },
-					{ "time": 0.2, "name": null }
+					{ "time": 0.2 }
 				]
 				]
 			},
 			},
 			"muzzle-ring3": {
 			"muzzle-ring3": {
@@ -7753,7 +7761,7 @@
 				],
 				],
 				"attachment": [
 				"attachment": [
 					{ "time": 0.0333, "name": "muzzle-ring" },
 					{ "time": 0.0333, "name": "muzzle-ring" },
-					{ "time": 0.2, "name": null }
+					{ "time": 0.2 }
 				]
 				]
 			},
 			},
 			"muzzle-ring4": {
 			"muzzle-ring4": {
@@ -7767,7 +7775,7 @@
 				],
 				],
 				"attachment": [
 				"attachment": [
 					{ "time": 0.0333, "name": "muzzle-ring" },
 					{ "time": 0.0333, "name": "muzzle-ring" },
-					{ "time": 0.2, "name": null }
+					{ "time": 0.2 }
 				]
 				]
 			}
 			}
 		},
 		},

+ 3 - 6
examples/animation/spine/spine.collection

@@ -16,6 +16,8 @@ embedded_instances {
   "    z: 0.0\n"
   "    z: 0.0\n"
   "    w: 1.0\n"
   "    w: 1.0\n"
   "  }\n"
   "  }\n"
+  "  property_decls {\n"
+  "  }\n"
   "}\n"
   "}\n"
   "embedded_components {\n"
   "embedded_components {\n"
   "  id: \"spinemodel\"\n"
   "  id: \"spinemodel\"\n"
@@ -25,6 +27,7 @@ embedded_instances {
   "skin: \\\"\\\"\\n"
   "skin: \\\"\\\"\\n"
   "blend_mode: BLEND_MODE_ALPHA\\n"
   "blend_mode: BLEND_MODE_ALPHA\\n"
   "material: \\\"/defold-spine/assets/spine.material\\\"\\n"
   "material: \\\"/defold-spine/assets/spine.material\\\"\\n"
+  "create_go_bones: false\\n"
   "\"\n"
   "\"\n"
   "  position {\n"
   "  position {\n"
   "    x: 0.0\n"
   "    x: 0.0\n"
@@ -47,12 +50,6 @@ embedded_instances {
   "  z: 0.0\\n"
   "  z: 0.0\\n"
   "  w: 0.0\\n"
   "  w: 0.0\\n"
   "}\\n"
   "}\\n"
-  "scale {\\n"
-  "  x: 1.0\\n"
-  "  y: 1.0\\n"
-  "  z: 1.0\\n"
-  "  w: 0.0\\n"
-  "}\\n"
   "color {\\n"
   "color {\\n"
   "  x: 0.0\\n"
   "  x: 0.0\\n"
   "  y: 0.5647059\\n"
   "  y: 0.5647059\\n"

+ 8 - 6
examples/factory/basic/basicfactory.collection

@@ -16,6 +16,8 @@ embedded_instances {
   "    z: 0.0\n"
   "    z: 0.0\n"
   "    w: 1.0\n"
   "    w: 1.0\n"
   "  }\n"
   "  }\n"
+  "  property_decls {\n"
+  "  }\n"
   "}\n"
   "}\n"
   "embedded_components {\n"
   "embedded_components {\n"
   "  id: \"sprite\"\n"
   "  id: \"sprite\"\n"
@@ -46,12 +48,6 @@ embedded_instances {
   "  z: 0.0\\n"
   "  z: 0.0\\n"
   "  w: 0.0\\n"
   "  w: 0.0\\n"
   "}\\n"
   "}\\n"
-  "scale {\\n"
-  "  x: 0.5\\n"
-  "  y: 0.5\\n"
-  "  z: 1.0\\n"
-  "  w: 0.0\\n"
-  "}\\n"
   "color {\\n"
   "color {\\n"
   "  x: 0.0\\n"
   "  x: 0.0\\n"
   "  y: 0.5647059\\n"
   "  y: 0.5647059\\n"
@@ -90,12 +86,18 @@ embedded_instances {
   "    z: 0.0\n"
   "    z: 0.0\n"
   "    w: 1.0\n"
   "    w: 1.0\n"
   "  }\n"
   "  }\n"
+  "  scale {\n"
+  "    x: 0.5\n"
+  "    y: 0.5\n"
+  "    z: 1.0\n"
+  "  }\n"
   "}\n"
   "}\n"
   "embedded_components {\n"
   "embedded_components {\n"
   "  id: \"carrotfactory\"\n"
   "  id: \"carrotfactory\"\n"
   "  type: \"factory\"\n"
   "  type: \"factory\"\n"
   "  data: \"prototype: \\\"/examples/factory/basic/carrot.go\\\"\\n"
   "  data: \"prototype: \\\"/examples/factory/basic/carrot.go\\\"\\n"
   "load_dynamically: false\\n"
   "load_dynamically: false\\n"
+  "dynamic_prototype: false\\n"
   "\"\n"
   "\"\n"
   "  position {\n"
   "  position {\n"
   "    x: 0.0\n"
   "    x: 0.0\n"

+ 8 - 6
examples/factory/bullets/bullets.collection

@@ -11,12 +11,6 @@ embedded_instances {
   "  z: 0.0\\n"
   "  z: 0.0\\n"
   "  w: 0.0\\n"
   "  w: 0.0\\n"
   "}\\n"
   "}\\n"
-  "scale {\\n"
-  "  x: 0.5\\n"
-  "  y: 0.5\\n"
-  "  z: 1.0\\n"
-  "  w: 0.0\\n"
-  "}\\n"
   "color {\\n"
   "color {\\n"
   "  x: 0.0\\n"
   "  x: 0.0\\n"
   "  y: 0.5647059\\n"
   "  y: 0.5647059\\n"
@@ -55,6 +49,11 @@ embedded_instances {
   "    z: 0.0\n"
   "    z: 0.0\n"
   "    w: 1.0\n"
   "    w: 1.0\n"
   "  }\n"
   "  }\n"
+  "  scale {\n"
+  "    x: 0.5\n"
+  "    y: 0.5\n"
+  "    z: 1.0\n"
+  "  }\n"
   "}\n"
   "}\n"
   ""
   ""
   position {
   position {
@@ -90,12 +89,15 @@ embedded_instances {
   "    z: 0.0\n"
   "    z: 0.0\n"
   "    w: 1.0\n"
   "    w: 1.0\n"
   "  }\n"
   "  }\n"
+  "  property_decls {\n"
+  "  }\n"
   "}\n"
   "}\n"
   "embedded_components {\n"
   "embedded_components {\n"
   "  id: \"bulletfactory\"\n"
   "  id: \"bulletfactory\"\n"
   "  type: \"factory\"\n"
   "  type: \"factory\"\n"
   "  data: \"prototype: \\\"/examples/factory/bullets/bullet.go\\\"\\n"
   "  data: \"prototype: \\\"/examples/factory/bullets/bullet.go\\\"\\n"
   "load_dynamically: false\\n"
   "load_dynamically: false\\n"
+  "dynamic_prototype: false\\n"
   "\"\n"
   "\"\n"
   "  position {\n"
   "  position {\n"
   "    x: 0.0\n"
   "    x: 0.0\n"

+ 1 - 0
examples/factory/bullets/player.go

@@ -38,6 +38,7 @@ embedded_components {
   type: "factory"
   type: "factory"
   data: "prototype: \"/examples/factory/bullets/bullet.go\"\n"
   data: "prototype: \"/examples/factory/bullets/bullet.go\"\n"
   "load_dynamically: false\n"
   "load_dynamically: false\n"
+  "dynamic_prototype: false\n"
   ""
   ""
   position {
   position {
     x: 0.0
     x: 0.0

+ 3 - 0
examples/physics/knockback/knockback.collection

@@ -36,12 +36,15 @@ embedded_instances {
   "    z: 0.0\n"
   "    z: 0.0\n"
   "    w: 1.0\n"
   "    w: 1.0\n"
   "  }\n"
   "  }\n"
+  "  property_decls {\n"
+  "  }\n"
   "}\n"
   "}\n"
   "embedded_components {\n"
   "embedded_components {\n"
   "  id: \"bulletfactory\"\n"
   "  id: \"bulletfactory\"\n"
   "  type: \"factory\"\n"
   "  type: \"factory\"\n"
   "  data: \"prototype: \\\"/examples/physics/knockback/bullet.go\\\"\\n"
   "  data: \"prototype: \\\"/examples/physics/knockback/bullet.go\\\"\\n"
   "load_dynamically: false\\n"
   "load_dynamically: false\\n"
+  "dynamic_prototype: false\\n"
   "\"\n"
   "\"\n"
   "  position {\n"
   "  position {\n"
   "    x: 0.0\n"
   "    x: 0.0\n"

+ 6 - 0
examples/render/camera/camera.collection

@@ -336,6 +336,8 @@ embedded_instances {
   "    z: 0.0\n"
   "    z: 0.0\n"
   "    w: 1.0\n"
   "    w: 1.0\n"
   "  }\n"
   "  }\n"
+  "  property_decls {\n"
+  "  }\n"
   "}\n"
   "}\n"
   "embedded_components {\n"
   "embedded_components {\n"
   "  id: \"sprite\"\n"
   "  id: \"sprite\"\n"
@@ -391,6 +393,8 @@ embedded_instances {
   "    z: 0.0\n"
   "    z: 0.0\n"
   "    w: 1.0\n"
   "    w: 1.0\n"
   "  }\n"
   "  }\n"
+  "  property_decls {\n"
+  "  }\n"
   "}\n"
   "}\n"
   "embedded_components {\n"
   "embedded_components {\n"
   "  id: \"camera\"\n"
   "  id: \"camera\"\n"
@@ -400,6 +404,8 @@ embedded_instances {
   "near_z: 0.1\\n"
   "near_z: 0.1\\n"
   "far_z: 1000.0\\n"
   "far_z: 1000.0\\n"
   "auto_aspect_ratio: 0\\n"
   "auto_aspect_ratio: 0\\n"
+  "orthographic_projection: 0\\n"
+  "orthographic_zoom: 1.0\\n"
   "\"\n"
   "\"\n"
   "  position {\n"
   "  position {\n"
   "    x: 0.0\n"
   "    x: 0.0\n"

+ 5 - 0
examples/tilemap/collisions/collisions.collection

@@ -16,6 +16,8 @@ embedded_instances {
   "    z: 0.0\n"
   "    z: 0.0\n"
   "    w: 1.0\n"
   "    w: 1.0\n"
   "  }\n"
   "  }\n"
+  "  property_decls {\n"
+  "  }\n"
   "}\n"
   "}\n"
   "components {\n"
   "components {\n"
   "  id: \"collisions\"\n"
   "  id: \"collisions\"\n"
@@ -31,6 +33,8 @@ embedded_instances {
   "    z: 0.0\n"
   "    z: 0.0\n"
   "    w: 1.0\n"
   "    w: 1.0\n"
   "  }\n"
   "  }\n"
+  "  property_decls {\n"
+  "  }\n"
   "}\n"
   "}\n"
   "embedded_components {\n"
   "embedded_components {\n"
   "  id: \"collisionobject\"\n"
   "  id: \"collisionobject\"\n"
@@ -64,6 +68,7 @@ embedded_instances {
   "  type: \"factory\"\n"
   "  type: \"factory\"\n"
   "  data: \"prototype: \\\"/examples/tilemap/collisions/enemy.go\\\"\\n"
   "  data: \"prototype: \\\"/examples/tilemap/collisions/enemy.go\\\"\\n"
   "load_dynamically: false\\n"
   "load_dynamically: false\\n"
+  "dynamic_prototype: false\\n"
   "\"\n"
   "\"\n"
   "  position {\n"
   "  position {\n"
   "    x: 0.0\n"
   "    x: 0.0\n"

+ 1 - 1
game.project

@@ -1,7 +1,7 @@
 [project]
 [project]
 title = Defold-examples
 title = Defold-examples
 version = 0.1
 version = 0.1
-dependencies#0 = https://github.com/defold/extension-spine/archive/refs/tags/2.5.0.zip
+dependencies#0 = https://github.com/defold/extension-spine/archive/refs/tags/2.10.3.zip
 
 
 [bootstrap]
 [bootstrap]
 main_collection = /examples/main.collectionc
 main_collection = /examples/main.collectionc