heliostat/src/main.tscn

168 lines
5.5 KiB
Plaintext
Raw Normal View History

2024-07-23 00:25:13 -06:00
[gd_scene load_steps=21 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-23 00:25:13 -06:00
[ext_resource type="Script" path="res://src/overlay_effects.gd" id="7_o2wgd"]
[ext_resource type="Shader" path="res://src/shaders/speed_lines.gdshader" id="7_sbbkm"]
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-23 00:25:13 -06:00
[sub_resource type="FastNoiseLite" id="FastNoiseLite_gkq2g"]
noise_type = 0
frequency = 0.1344
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_jnd2r"]
noise = SubResource("FastNoiseLite_gkq2g")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_d76dl"]
shader = ExtResource("7_sbbkm")
shader_parameter/line_count = 2.0
shader_parameter/line_density = 0.0
shader_parameter/line_falloff = 0.0
shader_parameter/mask_size = 0.166
shader_parameter/mask_edge = 1.0
shader_parameter/animation_speed = 20.0
shader_parameter/noise = SubResource("NoiseTexture2D_jnd2r")
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-23 00:25:13 -06:00
[sub_resource type="Animation" id="Animation_vu38v"]
resource_name = "boost_lines"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("UI/OverlayEffects/SpeedLinesOverlay:material:shader_parameter/line_density")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 1),
"transitions": PackedFloat32Array(1, 1.4, 1),
"update": 0,
"values": [0.0, 0.4, 0.0]
}
[sub_resource type="Animation" id="Animation_g25ja"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("UI/OverlayEffects/SpeedLinesOverlay:material:shader_parameter/line_density")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_qjn7a"]
_data = {
"RESET": SubResource("Animation_g25ja"),
"boost_lines": SubResource("Animation_vu38v")
}
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-23 00:25:13 -06:00
[node name="OverlayEffects" type="Control" parent="UI" groups=["OverlayEffectsGroup"]]
anchors_preset = 0
offset_right = 1900.0
offset_bottom = 768.0
script = ExtResource("7_o2wgd")
[node name="SpeedLinesOverlay" type="ColorRect" parent="UI/OverlayEffects"]
material = SubResource("ShaderMaterial_d76dl")
layout_mode = 0
offset_right = 1900.0
offset_bottom = 768.0
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")]
2024-07-23 00:25:13 -06:00
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_qjn7a")
}