Fix spawn location and on hit
This commit is contained in:
@@ -7,26 +7,9 @@
|
||||
[node name="MainMenu" type="Node2D"]
|
||||
script = ExtResource("1_6aikc")
|
||||
|
||||
[node name="NewGame" type="Control" parent="."]
|
||||
z_index = 10
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
[node name="UIAnimations" parent="." instance=ExtResource("2_erh7e")]
|
||||
|
||||
[node name="Button" type="Button" parent="NewGame"]
|
||||
top_level = true
|
||||
layout_mode = 0
|
||||
offset_left = 583.0
|
||||
offset_top = 441.0
|
||||
offset_right = 1155.0
|
||||
offset_bottom = 645.0
|
||||
text = "Play"
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="NewGame"]
|
||||
layout_mode = 1
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
anchors_preset = 14
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
@@ -41,6 +24,33 @@ size_flags_horizontal = 4
|
||||
texture = ExtResource("3_7s65g")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="UIAnimations" parent="." instance=ExtResource("2_erh7e")]
|
||||
[node name="NewGame" type="Control" parent="."]
|
||||
z_index = 10
|
||||
z_as_relative = false
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[connection signal="pressed" from="NewGame/Button" to="." method="OnStartButtonPressed"]
|
||||
[node name="Button" type="Button" parent="NewGame"]
|
||||
top_level = true
|
||||
layout_mode = 0
|
||||
offset_left = 654.0
|
||||
offset_top = 170.0
|
||||
offset_right = 1226.0
|
||||
offset_bottom = 374.0
|
||||
text = "One Player"
|
||||
|
||||
[node name="Button2" type="Button" parent="NewGame"]
|
||||
top_level = true
|
||||
layout_mode = 0
|
||||
offset_left = 647.0
|
||||
offset_top = 608.0
|
||||
offset_right = 1219.0
|
||||
offset_bottom = 812.0
|
||||
text = "Two Player"
|
||||
|
||||
[connection signal="pressed" from="NewGame/Button" to="." method="OnSinglePlayerPressed"]
|
||||
[connection signal="pressed" from="NewGame/Button2" to="." method="OnTwoPlayerPressed"]
|
||||
|
||||
Reference in New Issue
Block a user