浏览代码

restore spine example

AGulev 1 年之前
父节点
当前提交
7593131367
共有 2 个文件被更改,包括 20 次插入2 次删除
  1. 18 0
      examples/_main/loader.go
  2. 2 2
      game.project

+ 18 - 0
examples/_main/loader.go

@@ -1072,3 +1072,21 @@ embedded_components {
     w: 1.0
   }
 }
+embedded_components {
+  id: "animation/spine"
+  type: "collectionproxy"
+  data: "collection: \"/examples/animation/spine/spine.collection\"\n"
+  "exclude: false\n"
+  ""
+  position {
+    x: 0.0
+    y: 0.0
+    z: 0.0
+  }
+  rotation {
+    x: 0.0
+    y: 0.0
+    z: 0.0
+    w: 1.0
+  }
+}

+ 2 - 2
game.project

@@ -2,7 +2,7 @@
 title = Defold-examples
 version = 0.1
 custom_resources = examples/resource/modify_atlas/resources
-dependencies#0 = https://github.com/defold/extension-spine/archive/refs/tags/2.12.0.zip
+dependencies#0 = https://github.com/defold/extension-spine/archive/refs/tags/2.13.0.zip
 
 [bootstrap]
 main_collection = /examples/main.collectionc
@@ -52,6 +52,7 @@ bundle_identifier = com.defold.examples
 show_fullscreen_button = 0
 show_made_with_defold = 0
 scale_mode = no_scale
+heap_size = 64
 
 [graphics]
 texture_profiles = /all.texture_profiles
@@ -59,4 +60,3 @@ texture_profiles = /all.texture_profiles
 [collection]
 max_instances = 32765
 
-