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.8 KiB
88 lines
2.8 KiB
11 months ago
|
[gd_scene load_steps=11 format=3 uid="uid://puuk72ficqhu"]
|
||
11 months ago
|
|
||
11 months ago
|
[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"]
|
||
11 months ago
|
|
||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ke1l3"]
|
||
11 months ago
|
shader = ExtResource("4_gacvj")
|
||
11 months ago
|
shader_parameter/line_color = Color(1, 1, 1, 0.75)
|
||
|
shader_parameter/line_thickness = 2.0
|
||
|
|
||
|
[node name="Game" type="Node"]
|
||
11 months ago
|
script = ExtResource("1_uywdd")
|
||
11 months ago
|
|
||
11 months ago
|
[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")]
|
||
11 months ago
|
|
||
|
[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
|
||
11 months ago
|
current = true
|
||
11 months ago
|
script = ExtResource("5_qpc14")
|
||
11 months ago
|
|
||
|
[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
|
||
|
|
||
11 months ago
|
[node name="Menu" parent="HUD" instance=ExtResource("6_ol0j5")]
|
||
11 months ago
|
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
|
||
|
|
||
11 months ago
|
[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
|
||
11 months ago
|
texture = ExtResource("7_0l5tv")
|
||
|
script = ExtResource("8_mfhgr")
|