Browse Source

:truck: Rename color sprite image

DricomDragon 3 years ago
parent
commit
6e948d2223

+ 2 - 2
godot/component/entity/brick/Brick.tscn

@@ -1,6 +1,6 @@
 [gd_scene load_steps=7 format=2]
 
-[ext_resource path="res://component/entity/brick/brik.png" type="Texture" id=1]
+[ext_resource path="res://component/entity/brick/color_brik.png" type="Texture" id=1]
 [ext_resource path="res://component/entity/brick/Brick.gd" type="Script" id=2]
 [ext_resource path="res://component/entity/brick/BrickMainSprite.gd" type="Script" id=3]
 [ext_resource path="res://component/entity/brick/BrickLifeDisplay.gd" type="Script" id=4]
@@ -29,5 +29,5 @@ shape = SubResource( 1 )
 
 [node name="LifeDisplay" type="Node2D" parent="."]
 script = ExtResource( 4 )
-[connection signal="life_changed" from="." to="ColorSprite" method="_on_Brick_life_changed"]
 [connection signal="life_changed" from="." to="LifeDisplay" method="_on_Brick_life_changed"]
+[connection signal="life_changed" from="." to="ColorSprite" method="_on_Brick_life_changed"]

godot/component/entity/brick/brik.png → godot/component/entity/brick/color_brik.png


+ 3 - 3
godot/component/entity/brick/brik.png.import

@@ -2,15 +2,15 @@
 
 importer="texture"
 type="StreamTexture"
-path="res://.import/brik.png-5fd73ddbb0ac43d65af90d45baab4a83.stex"
+path="res://.import/color_brik.png-285790a0e17307dc2720f1c78b3990ab.stex"
 metadata={
 "vram_texture": false
 }
 
 [deps]
 
-source_file="res://component/entity/brick/brik.png"
-dest_files=[ "res://.import/brik.png-5fd73ddbb0ac43d65af90d45baab4a83.stex" ]
+source_file="res://component/entity/brick/color_brik.png"
+dest_files=[ "res://.import/color_brik.png-285790a0e17307dc2720f1c78b3990ab.stex" ]
 
 [params]
 

+ 1 - 1
godot/main.tscn

@@ -60,8 +60,8 @@ title = "Balls"
 [connection signal="gain_new_bullet" from="Launcher" to="UI/BallCounter" method="increase_counter"]
 [connection signal="get_firing" from="Launcher" to="UI" method="_on_Launcher_get_firing"]
 [connection signal="is_full" from="Launcher" to="Grid" method="_on_Launcher_is_full"]
-[connection signal="has_moved" from="Grid" to="DeadLine" method="_on_Grid_has_moved"]
 [connection signal="has_moved" from="Grid" to="Launcher" method="_on_Grid_has_moved"]
+[connection signal="has_moved" from="Grid" to="DeadLine" method="_on_Grid_has_moved"]
 [connection signal="kace_broken" from="Grid" to="Launcher" method="_on_Grid_kace_broken"]
 [connection signal="kace_damaged" from="Grid" to="UI/ScoreCounter" method="increase_counter"]
 [connection signal="game_lost" from="DeadLine" to="Launcher" method="_on_DeadLine_game_lost"]