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.
61 lines
1.8 KiB
61 lines
1.8 KiB
11 months ago
|
[gd_scene load_steps=7 format=3 uid="uid://puuk72ficqhu"]
|
||
|
|
||
|
[ext_resource type="PackedScene" uid="uid://bwfuet1irfi17" path="res://scenes/warehouse.tscn" id="1_m8m3w"]
|
||
|
[ext_resource type="Shader" path="res://assets/shaders/outline.gdshader" id="2_yvnqw"]
|
||
|
[ext_resource type="Script" path="res://scripts/OutlineCamera.cs" id="3_wd8hf"]
|
||
|
[ext_resource type="Texture2D" uid="uid://lxxfestfg2dt" path="res://assets/crosshair.png" id="4_06ang"]
|
||
|
[ext_resource type="Script" path="res://scripts/Crosshair.cs" id="5_i8gkf"]
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ke1l3"]
|
||
|
shader = ExtResource("2_yvnqw")
|
||
|
shader_parameter/line_color = Color(1, 1, 1, 0.75)
|
||
|
shader_parameter/line_thickness = 2.0
|
||
|
|
||
|
[node name="Game" type="Node"]
|
||
|
|
||
|
[node name="Warehouse" parent="." instance=ExtResource("1_m8m3w")]
|
||
|
|
||
|
[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
|
||
|
script = ExtResource("3_wd8hf")
|
||
|
|
||
|
[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="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("4_06ang")
|
||
|
script = ExtResource("5_i8gkf")
|