start Multiplayer
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
[gd_scene format=3 uid="uid://dsnlwjofq6psf"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dsnlwjofq6psf"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/GUI/MainMenu.gd" id="1_23sw7"]
|
||||
[ext_resource type="PackedScene" uid="uid://3o430r2kys4k" path="res://scenes/GUI/MAIN.tscn" id="1_sojs8"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0kkhtesg83g" path="res://scenes/GUI/START_GAME.tscn" id="2_ipoll"]
|
||||
|
||||
[node name="Main Menu" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -9,61 +13,14 @@ anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_23sw7")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -198.0
|
||||
offset_top = -104.0
|
||||
offset_right = 199.0
|
||||
offset_bottom = 64.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
[node name="MAIN" parent="." instance=ExtResource("1_sojs8")]
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
offset_left = 102.0
|
||||
offset_right = 295.0
|
||||
offset_bottom = 31.0
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 2
|
||||
[node name="START GAME" parent="." instance=ExtResource("2_ipoll")]
|
||||
visible = false
|
||||
|
||||
[node name="Start" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
offset_right = 96.0
|
||||
offset_bottom = 31.0
|
||||
text = "Start Game"
|
||||
|
||||
[node name="ModsMenu" type="MenuButton" parent="VBoxContainer/HBoxContainer"]
|
||||
offset_left = 100.0
|
||||
offset_right = 193.0
|
||||
offset_bottom = 31.0
|
||||
text = "Select Mod"
|
||||
flat = false
|
||||
item_count = 2
|
||||
popup/item_0/text = "test1"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "test2"
|
||||
popup/item_1/id = 1
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer"]
|
||||
offset_left = 138.0
|
||||
offset_top = 102.0
|
||||
offset_right = 258.0
|
||||
offset_bottom = 168.0
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 10
|
||||
|
||||
[node name="SettingsButton" type="Button" parent="VBoxContainer/VBoxContainer2"]
|
||||
offset_right = 120.0
|
||||
offset_bottom = 31.0
|
||||
text = "Game Settings"
|
||||
icon_alignment = 1
|
||||
|
||||
[node name="ExitButton" type="Button" parent="VBoxContainer/VBoxContainer2"]
|
||||
offset_top = 35.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 66.0
|
||||
text = "Exit"
|
||||
[connection signal="start_game" from="MAIN" to="." method="_on_main_start_game"]
|
||||
[connection signal="back" from="START GAME" to="." method="_on_start_game_back"]
|
||||
[connection signal="start_game" from="START GAME" to="." method="_on_start_game_start_game"]
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://8g7w4uv2xsck"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://8g7w4uv2xsck"]
|
||||
|
||||
[ext_resource type="Script" path="res://Game.gd" id="1_71dcv"]
|
||||
[ext_resource type="PackedScene" uid="uid://bp5ekvan8qsmc" path="res://entities/enemy/dummy.tscn" id="2_13e86"]
|
||||
[ext_resource type="PackedScene" uid="uid://bl7jynld7s25o" path="res://entities/Player.tscn" id="3_ngdfc"]
|
||||
[ext_resource type="PackedScene" uid="uid://dsnlwjofq6psf" path="res://scenes/GUI/Main Menu.tscn" id="2_448f8"]
|
||||
|
||||
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_2n8qo"]
|
||||
|
||||
@@ -31,15 +30,10 @@ shadow_enabled = true
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_oqaam")
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
[node name="Main Menu" parent="." instance=ExtResource("2_448f8")]
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasLayer"]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 14.0
|
||||
metadata/_edit_use_anchors_ = true
|
||||
[node name="Networking" type="Node" parent="."]
|
||||
|
||||
[node name="Enemy" parent="." instance=ExtResource("2_13e86")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 23.8087, 0.346554, -28.3203)
|
||||
|
||||
[node name="PlayerQ3" parent="." instance=ExtResource("3_ngdfc")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 3.52828, 2.64918, -22.0849)
|
||||
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="Networking"]
|
||||
_spawnable_scenes = PackedStringArray("res://entities/Player.tscn")
|
||||
spawn_path = NodePath("../..")
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user