Set game over for character condition
This commit is contained in:
@@ -5,12 +5,10 @@
|
||||
[ext_resource type="PackedScene" uid="uid://dq1gtd55p04do" path="res://Scenes/StageGUI.tscn" id="5_gsh7q"]
|
||||
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="7_4n1rc"]
|
||||
|
||||
[node name="GameManager" type="Node" node_paths=PackedStringArray("_p1SelectedCharacter", "_p2SelectedCharacter")]
|
||||
[node name="GameManager" type="Node"]
|
||||
script = ExtResource("1_ya2kt")
|
||||
_p1Characters = [ExtResource("1_6lmun"), ExtResource("1_6lmun")]
|
||||
_p2Characters = [ExtResource("1_6lmun"), ExtResource("1_6lmun")]
|
||||
_p1SelectedCharacter = NodePath("Pisces")
|
||||
_p2SelectedCharacter = NodePath("Pisces2")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(-0.929007, 0.136193, 0.34409, 0.369825, 0.375014, 0.850055, -0.0132668, 0.91696, -0.398758, -3.58319, 11.9025, 0.163277)
|
||||
@@ -37,11 +35,4 @@ script = ExtResource("7_4n1rc")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.651031, 0, 0)
|
||||
script = ExtResource("7_4n1rc")
|
||||
|
||||
[node name="Pisces" parent="." instance=ExtResource("1_6lmun")]
|
||||
visible = false
|
||||
|
||||
[node name="Pisces2" parent="." instance=ExtResource("1_6lmun")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.67345, 0, 0)
|
||||
visible = false
|
||||
|
||||
[connection signal="OnCharacterSelectionMade" from="StageGUI" to="." method="OnP1CharacterSelected"]
|
||||
|
||||
@@ -35,4 +35,12 @@ shape = SubResource("CapsuleShape3D_ayco3")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.06805, -0.211049)
|
||||
shape = SubResource("CapsuleShape3D_fqik1")
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
offset_left = 1602.0
|
||||
offset_top = 40.0
|
||||
offset_right = 1872.0
|
||||
offset_bottom = 178.0
|
||||
text = "Hit"
|
||||
|
||||
[connection signal="body_entered" from="Pivot/Area3D" to="." method="OnHit"]
|
||||
[connection signal="pressed" from="Button" to="." method="HitDebug"]
|
||||
|
||||
Reference in New Issue
Block a user