You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.9 KiB
88 lines
2.9 KiB
[gd_scene load_steps=11 format=3 uid="uid://puuk72ficqhu"] |
|
|
|
[ext_resource type="Script" path="res://scripts/MultiplayerManager.cs" id="1_7shyh"] |
|
[ext_resource type="Script" path="res://Game.cs" id="1_uywdd"] |
|
[ext_resource type="PackedScene" uid="uid://dmd7w2r8s0x6y" path="res://player/player.tscn" id="2_iv2f7"] |
|
[ext_resource type="PackedScene" uid="uid://bwfuet1irfi17" path="res://scenes/workshop.tscn" id="3_4u5ql"] |
|
[ext_resource type="Shader" path="res://assets/shaders/outline.gdshader" id="4_gacvj"] |
|
[ext_resource type="Script" path="res://scripts/OutlineCamera.cs" id="5_qpc14"] |
|
[ext_resource type="PackedScene" uid="uid://c5ooi36ibspfo" path="res://ui/menu.tscn" id="6_ol0j5"] |
|
[ext_resource type="Texture2D" uid="uid://lxxfestfg2dt" path="res://assets/crosshair.png" id="7_0l5tv"] |
|
[ext_resource type="Script" path="res://scripts/Crosshair.cs" id="8_mfhgr"] |
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ke1l3"] |
|
shader = ExtResource("4_gacvj") |
|
shader_parameter/line_color = Color(1, 1, 1, 0.75) |
|
shader_parameter/line_thickness = 2.0 |
|
|
|
[node name="Game" type="Node" node_paths=PackedStringArray("LocalPlayer")] |
|
script = ExtResource("1_uywdd") |
|
LocalPlayer = NodePath("Players/Local") |
|
|
|
[node name="MultiplayerManager" type="Node" parent="." node_paths=PackedStringArray("LocalPlayer", "Players")] |
|
script = ExtResource("1_7shyh") |
|
LocalPlayer = NodePath("../Players/Local") |
|
Players = NodePath("../Players") |
|
PlayerScene = ExtResource("2_iv2f7") |
|
|
|
[node name="Workshop" parent="." instance=ExtResource("3_4u5ql")] |
|
|
|
[node name="Players" type="Node3D" parent="."] |
|
|
|
[node name="Local" parent="Players" instance=ExtResource("2_iv2f7")] |
|
|
|
[node name="OutlineViewportContainer" type="SubViewportContainer" parent="."] |
|
material = SubResource("ShaderMaterial_ke1l3") |
|
anchors_preset = 15 |
|
anchor_right = 1.0 |
|
anchor_bottom = 1.0 |
|
grow_horizontal = 2 |
|
grow_vertical = 2 |
|
stretch = true |
|
|
|
[node name="OutlineViewport" type="SubViewport" parent="OutlineViewportContainer"] |
|
transparent_bg = true |
|
handle_input_locally = false |
|
size = Vector2i(1152, 648) |
|
render_target_update_mode = 4 |
|
|
|
[node name="OutlineCamera" type="Camera3D" parent="OutlineViewportContainer/OutlineViewport"] |
|
cull_mask = 2 |
|
current = true |
|
script = ExtResource("5_qpc14") |
|
|
|
[node name="HUD" type="Control" parent="."] |
|
layout_mode = 3 |
|
anchors_preset = 15 |
|
anchor_right = 1.0 |
|
anchor_bottom = 1.0 |
|
grow_horizontal = 2 |
|
grow_vertical = 2 |
|
mouse_filter = 2 |
|
|
|
[node name="Menu" parent="HUD" instance=ExtResource("6_ol0j5")] |
|
visible = false |
|
layout_mode = 1 |
|
anchors_preset = 15 |
|
anchor_right = 1.0 |
|
anchor_bottom = 1.0 |
|
offset_right = 0.0 |
|
offset_bottom = 0.0 |
|
grow_horizontal = 2 |
|
grow_vertical = 2 |
|
|
|
[node name="Crosshair" type="TextureRect" parent="HUD"] |
|
layout_mode = 1 |
|
anchors_preset = 8 |
|
anchor_left = 0.5 |
|
anchor_top = 0.5 |
|
anchor_right = 0.5 |
|
anchor_bottom = 0.5 |
|
offset_left = -20.0 |
|
offset_top = -20.0 |
|
offset_right = 20.0 |
|
offset_bottom = 20.0 |
|
grow_horizontal = 2 |
|
grow_vertical = 2 |
|
texture = ExtResource("7_0l5tv") |
|
script = ExtResource("8_mfhgr")
|
|
|