97 lines
4.1 KiB
Text
97 lines
4.1 KiB
Text
[gd_scene format=3 uid="uid://b3yh6h7fdt160"]
|
|
|
|
[ext_resource type="Script" uid="uid://cy8nuarxbnd" path="res://scripts/GravityZone.cs" id="1_yqjtg"]
|
|
[ext_resource type="Script" uid="uid://dr6y711ano07p" path="res://scripts/QueueManager.cs" id="4_iywne"]
|
|
[ext_resource type="Script" uid="uid://n557xfrv0i6x" path="res://scripts/GameControlManager.cs" id="4_lbhrr"]
|
|
[ext_resource type="Script" uid="uid://bwgjvm21oi3d6" path="res://scripts/GameManager.cs" id="4_p57ef"]
|
|
[ext_resource type="Script" uid="uid://betypbypf6bf2" path="res://scripts/GameMenuController.cs" id="5_iywne"]
|
|
[ext_resource type="Script" uid="uid://bo57chobyuegg" path="res://scripts/NetworkManager.cs" id="5_p57ef"]
|
|
[ext_resource type="Script" uid="uid://by0357lop0qge" path="res://scripts/RPCNode.cs" id="6_u5sy4"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_p57ef"]
|
|
size = Vector3(2, 0.1, 2)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_8cj0n"]
|
|
size = Vector3(10, 0.5, 10)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_uwrxv"]
|
|
size = Vector3(10, 5, 10)
|
|
|
|
[node name="Game" type="Node3D" unique_id=1201210338 node_paths=PackedStringArray("GameMenu", "QueueManager", "SpaceRoot")]
|
|
script = ExtResource("4_p57ef")
|
|
GameMenu = NodePath("GameMenu")
|
|
QueueManager = NodePath("QueueManager")
|
|
SpaceRoot = NodePath("Space")
|
|
closeTickInterval = 0.1
|
|
|
|
[node name="Space" type="Node3D" parent="." unique_id=1006247987]
|
|
|
|
[node name="Plane" type="StaticBody3D" parent="Space" unique_id=1260154250]
|
|
transform = Transform3D(1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994, 0, -10, 0)
|
|
|
|
[node name="PlaneMesh" type="MeshInstance3D" parent="Space/Plane" unique_id=107049489]
|
|
transform = Transform3D(5, 0, 0, 0, 1, 0, 0, 0, 5, 0, 0, 0)
|
|
mesh = SubResource("BoxMesh_p57ef")
|
|
|
|
[node name="PlaneCollider" type="CollisionShape3D" parent="Space/Plane" unique_id=970373853]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.2, 0)
|
|
shape = SubResource("BoxShape3D_8cj0n")
|
|
|
|
[node name="GravityZone" type="Area3D" parent="Space/Plane" unique_id=1326543003]
|
|
gravity_space_override = 2
|
|
script = ExtResource("1_yqjtg")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Space/Plane/GravityZone" unique_id=772916098]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, 0)
|
|
shape = SubResource("BoxShape3D_uwrxv")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="Space/Plane" unique_id=226559047]
|
|
transform = Transform3D(1, 0, 0, 0, 1.0000000600000036, 0, 0, 0, 1.0000000600000036, 0, 10.000000600000035, 0)
|
|
|
|
[node name="GameControlManager" type="Node" parent="." unique_id=1751385863 node_paths=PackedStringArray("GameMenu")]
|
|
script = ExtResource("4_lbhrr")
|
|
GameMenu = NodePath("../GameMenu")
|
|
|
|
[node name="QueueManager" type="Node" parent="." unique_id=355148200]
|
|
script = ExtResource("4_iywne")
|
|
|
|
[node name="NetworkManager" type="Node" parent="." unique_id=1765485895 node_paths=PackedStringArray("RPCNode")]
|
|
script = ExtResource("5_p57ef")
|
|
RPCNode = NodePath("../RPC")
|
|
|
|
[node name="RPC" type="Node" parent="." unique_id=498537245]
|
|
script = ExtResource("6_u5sy4")
|
|
|
|
[node name="GameMenu" type="Control" parent="." unique_id=223510406]
|
|
visible = false
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("5_iywne")
|
|
|
|
[node name="Overlay" type="ColorRect" parent="GameMenu" unique_id=255916820]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 0.2509804)
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="GameMenu" unique_id=502136213]
|
|
layout_mode = 0
|
|
offset_left = 32.0
|
|
offset_top = 32.0
|
|
offset_right = 128.0
|
|
offset_bottom = 63.0
|
|
|
|
[node name="MainMenuButton" type="Button" parent="GameMenu/VBoxContainer" unique_id=1125420773]
|
|
layout_mode = 2
|
|
text = "Main Menu"
|
|
|
|
[connection signal="body_entered" from="Space/Plane/GravityZone" to="Space/Plane/GravityZone" method="OnBodyEntered"]
|
|
[connection signal="body_exited" from="Space/Plane/GravityZone" to="Space/Plane/GravityZone" method="OnBodyExited"]
|
|
[connection signal="pressed" from="GameMenu/VBoxContainer/MainMenuButton" to="GameMenu" method="OnMainMenu"]
|