|
@@ -1,4 +1,4 @@
|
|
-[gd_scene load_steps=18 format=2]
|
|
|
|
|
|
+[gd_scene load_steps=19 format=2]
|
|
|
|
|
|
[ext_resource path="res://image/launcher.png" type="Texture" id=1]
|
|
[ext_resource path="res://image/launcher.png" type="Texture" id=1]
|
|
[ext_resource path="res://image/brik.png" type="Texture" id=2]
|
|
[ext_resource path="res://image/brik.png" type="Texture" id=2]
|
|
@@ -11,6 +11,7 @@
|
|
[ext_resource path="res://scripts/ScoreCounterLabel.gd" type="Script" id=9]
|
|
[ext_resource path="res://scripts/ScoreCounterLabel.gd" type="Script" id=9]
|
|
[ext_resource path="res://scripts/LifeContainer.gd" type="Script" id=10]
|
|
[ext_resource path="res://scripts/LifeContainer.gd" type="Script" id=10]
|
|
[ext_resource path="res://scripts/DeadLine.gd" type="Script" id=11]
|
|
[ext_resource path="res://scripts/DeadLine.gd" type="Script" id=11]
|
|
|
|
+[ext_resource path="res://scripts/TargetLine.gd" type="Script" id=12]
|
|
|
|
|
|
[sub_resource type="PhysicsMaterial" id=1]
|
|
[sub_resource type="PhysicsMaterial" id=1]
|
|
friction = 0.0
|
|
friction = 0.0
|
|
@@ -99,8 +100,12 @@ script = ExtResource( 6 )
|
|
[node name="LifeContainer" type="Node2D" parent="Launcher/Grid"]
|
|
[node name="LifeContainer" type="Node2D" parent="Launcher/Grid"]
|
|
script = ExtResource( 10 )
|
|
script = ExtResource( 10 )
|
|
|
|
|
|
-[node name="Target" type="Sprite" parent="Launcher"]
|
|
|
|
|
|
+[node name="TargetLine" type="RayCast2D" parent="Launcher"]
|
|
position = Vector2( 200, 400 )
|
|
position = Vector2( 200, 400 )
|
|
|
|
+collision_mask = 6
|
|
|
|
+script = ExtResource( 12 )
|
|
|
|
+
|
|
|
|
+[node name="TargetVisor" type="Sprite" parent="Launcher/TargetLine"]
|
|
texture = ExtResource( 5 )
|
|
texture = ExtResource( 5 )
|
|
|
|
|
|
[node name="Source" type="Sprite" parent="Launcher"]
|
|
[node name="Source" type="Sprite" parent="Launcher"]
|
|
@@ -210,6 +215,7 @@ __meta__ = {
|
|
[connection signal="gain_new_bullet" from="Launcher" to="UI/BallCounterPanel/BallCounterLabel" method="_on_Launcher_gain_new_bullet"]
|
|
[connection signal="gain_new_bullet" from="Launcher" to="UI/BallCounterPanel/BallCounterLabel" method="_on_Launcher_gain_new_bullet"]
|
|
[connection signal="get_firing" from="Launcher" to="Launcher" method="_on_Launcher_get_firing"]
|
|
[connection signal="get_firing" from="Launcher" to="Launcher" method="_on_Launcher_get_firing"]
|
|
[connection signal="is_full" from="Launcher" to="Launcher/Grid" method="_on_Launcher_is_full"]
|
|
[connection signal="is_full" from="Launcher" to="Launcher/Grid" method="_on_Launcher_is_full"]
|
|
|
|
+[connection signal="move_visor" from="Launcher" to="Launcher/TargetLine" method="_on_Launcher_move_visor"]
|
|
[connection signal="has_moved" from="Launcher/Grid" to="Launcher" method="_on_Grid_has_moved"]
|
|
[connection signal="has_moved" from="Launcher/Grid" to="Launcher" method="_on_Grid_has_moved"]
|
|
[connection signal="has_moved" from="Launcher/Grid" to="Launcher/DeadLine" method="_on_Grid_has_moved"]
|
|
[connection signal="has_moved" from="Launcher/Grid" to="Launcher/DeadLine" method="_on_Grid_has_moved"]
|
|
[connection signal="kace_broken" from="Launcher/Grid" to="Launcher" method="_on_Grid_kace_broken"]
|
|
[connection signal="kace_broken" from="Launcher/Grid" to="Launcher" method="_on_Grid_kace_broken"]
|