Björn Ritzl 2 роки тому
батько
коміт
e57bf295c5

BIN
assets/images/shipBeige_manned.png


BIN
assets/images/shipGreen_manned.png


BIN
assets/images/shipPink_manned.png


+ 1 - 1
examples/resource/modify_atlas/modify_atlas.collection

@@ -131,7 +131,7 @@ embedded_instances {
   "pivot: PIVOT_CENTER\\n"
   "blend_mode: BLEND_MODE_ALPHA\\n"
   "line_break: false\\n"
-  "text: \\\"CLICK TO REPLACE GREEN WITH YELLOW\\\"\\n"
+  "text: \\\"CLICK TO REPLACE PINK WITH YELLOW\\\"\\n"
   "font: \\\"/builtins/fonts/system_font.font\\\"\\n"
   "material: \\\"/builtins/fonts/label.material\\\"\\n"
   "\"\n"

+ 0 - 1
examples/resource/modify_atlas/modify_atlas.script

@@ -66,7 +66,6 @@ end
 
 function init(self)
 	msg.post(".", "acquire_input_focus")
-	replace_atlas_image()
 end
 
 function on_input(self, action_id, action)

BIN
examples/resource/modify_atlas/resources/shipYellow_manned.png


+ 1 - 1
game.project

@@ -5,7 +5,7 @@ custom_resources = examples/resource/modify_atlas/resources
 dependencies#0 = https://github.com/defold/extension-spine/archive/refs/tags/2.11.3.zip
 
 [bootstrap]
-main_collection = /examples/resource/modify_atlas/modify_atlas.collectionc
+main_collection = /examples/main.collectionc
 
 [input]
 game_binding = /input/game.input_bindingc