heliostat/src/main.tscn

96 lines
3.3 KiB
Plaintext
Raw Normal View History

2024-07-22 20:48:04 -06:00
[gd_scene load_steps=13 format=3 uid="uid://d75odchj18u1"]
2024-07-21 14:17:35 -06:00
2024-07-22 19:37:26 -06:00
[ext_resource type="Script" path="res://src/crosshair.gd" id="1_8vuwf"]
2024-07-21 14:38:56 -06:00
[ext_resource type="Shader" path="res://src/shaders/threshold.gdshader" id="1_bg1gg"]
2024-07-21 14:17:35 -06:00
[ext_resource type="PackedScene" uid="uid://drbiyuustse8b" path="res://src/maps/arena_map/arena_map.tscn" id="1_bvhtq"]
2024-07-22 19:37:26 -06:00
[ext_resource type="Shader" path="res://src/shaders/invert.gdshader" id="1_rg2hr"]
[ext_resource type="Texture2D" uid="uid://bepxfquua1v6" path="res://assets/textures/crosshair_circle.png" id="3_1ycfj"]
[ext_resource type="Texture2D" uid="uid://hmt7s15m7eto" path="res://assets/textures/crosshair_dot.png" id="3_3u7nt"]
2024-07-22 20:48:04 -06:00
[ext_resource type="Texture2D" uid="uid://mmit1txxkbvb" path="res://assets/textures/compass.png" id="5_6lb45"]
[ext_resource type="Script" path="res://src/compass.gd" id="5_ovssf"]
2024-07-22 19:37:26 -06:00
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ag8l2"]
shader = ExtResource("1_rg2hr")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_csvvm"]
shader = ExtResource("1_rg2hr")
2024-07-21 14:17:35 -06:00
2024-07-22 20:48:04 -06:00
[sub_resource type="ShaderMaterial" id="ShaderMaterial_hre76"]
shader = ExtResource("1_rg2hr")
2024-07-21 14:38:56 -06:00
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ubp15"]
shader = ExtResource("1_bg1gg")
shader_parameter/color_low = Color(0, 0, 0, 1)
shader_parameter/color_hi = Color(1, 1, 1, 1)
2024-07-22 20:48:04 -06:00
shader_parameter/threshold = 0.455
2024-07-21 14:17:35 -06:00
shader_parameter/contrast = 1.0
2024-07-21 14:38:56 -06:00
shader_parameter/offset = 0.0
2024-07-21 14:17:35 -06:00
2024-07-22 19:37:26 -06:00
[node name="Main" type="Control"]
custom_minimum_size = Vector2(1900, 768)
layout_mode = 3
anchors_preset = 0
2024-07-22 20:48:04 -06:00
[node name="UI" type="Control" parent="."]
2024-07-22 19:37:26 -06:00
z_index = 1
2024-07-22 20:48:04 -06:00
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="Crosshair" type="CenterContainer" parent="UI" groups=["CrosshairGroup"]]
2024-07-22 19:37:26 -06:00
layout_mode = 0
offset_right = 1900.0
offset_bottom = 768.0
script = ExtResource("1_8vuwf")
2024-07-22 20:48:04 -06:00
[node name="CrosshairContainer" type="Control" parent="UI/Crosshair"]
2024-07-22 19:37:26 -06:00
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
2024-07-22 20:48:04 -06:00
[node name="CrosshairCircle" type="TextureRect" parent="UI/Crosshair/CrosshairContainer"]
2024-07-22 19:37:26 -06:00
material = SubResource("ShaderMaterial_ag8l2")
layout_mode = 2
offset_right = 32.0
offset_bottom = 32.0
texture = ExtResource("3_1ycfj")
stretch_mode = 2
2024-07-22 20:48:04 -06:00
[node name="CrosshairDot" type="TextureRect" parent="UI/Crosshair/CrosshairContainer"]
2024-07-22 19:37:26 -06:00
material = SubResource("ShaderMaterial_csvvm")
layout_mode = 2
offset_right = 32.0
offset_bottom = 32.0
texture = ExtResource("3_3u7nt")
2024-07-21 14:17:35 -06:00
2024-07-22 20:48:04 -06:00
[node name="Compass" type="Control" parent="UI" groups=["CompassGroup"]]
clip_contents = true
anchors_preset = 0
offset_left = 760.0
offset_top = 20.0
offset_right = 1140.0
offset_bottom = 52.0
script = ExtResource("5_ovssf")
[node name="CompassTexture" type="TextureRect" parent="UI/Compass"]
material = SubResource("ShaderMaterial_hre76")
custom_minimum_size = Vector2(2304, 32)
layout_mode = 0
offset_right = 2304.0
offset_bottom = 32.0
texture = ExtResource("5_6lb45")
stretch_mode = 1
2024-07-21 14:17:35 -06:00
[node name="ViewportContainer" type="SubViewportContainer" parent="."]
2024-07-21 14:38:56 -06:00
material = SubResource("ShaderMaterial_ubp15")
2024-07-22 19:37:26 -06:00
layout_mode = 0
2024-07-21 14:17:35 -06:00
offset_right = 1900.0
offset_bottom = 768.0
stretch = true
[node name="Viewport" type="SubViewport" parent="ViewportContainer"]
handle_input_locally = false
size = Vector2i(1900, 768)
render_target_update_mode = 4
[node name="ArenaMap" parent="ViewportContainer/Viewport" instance=ExtResource("1_bvhtq")]