[gd_scene load_steps=13 format=3 uid="uid://d75odchj18u1"] [ext_resource type="Script" path="res://src/crosshair.gd" id="1_8vuwf"] [ext_resource type="Shader" path="res://src/shaders/threshold.gdshader" id="1_bg1gg"] [ext_resource type="PackedScene" uid="uid://drbiyuustse8b" path="res://src/maps/arena_map/arena_map.tscn" id="1_bvhtq"] [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"] [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"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_ag8l2"] shader = ExtResource("1_rg2hr") [sub_resource type="ShaderMaterial" id="ShaderMaterial_csvvm"] shader = ExtResource("1_rg2hr") [sub_resource type="ShaderMaterial" id="ShaderMaterial_hre76"] shader = ExtResource("1_rg2hr") [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) shader_parameter/threshold = 0.455 shader_parameter/contrast = 1.0 shader_parameter/offset = 0.0 [node name="Main" type="Control"] custom_minimum_size = Vector2(1900, 768) layout_mode = 3 anchors_preset = 0 [node name="UI" type="Control" parent="."] z_index = 1 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Crosshair" type="CenterContainer" parent="UI" groups=["CrosshairGroup"]] layout_mode = 0 offset_right = 1900.0 offset_bottom = 768.0 script = ExtResource("1_8vuwf") [node name="CrosshairContainer" type="Control" parent="UI/Crosshair"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 [node name="CrosshairCircle" type="TextureRect" parent="UI/Crosshair/CrosshairContainer"] material = SubResource("ShaderMaterial_ag8l2") layout_mode = 2 offset_right = 32.0 offset_bottom = 32.0 texture = ExtResource("3_1ycfj") stretch_mode = 2 [node name="CrosshairDot" type="TextureRect" parent="UI/Crosshair/CrosshairContainer"] material = SubResource("ShaderMaterial_csvvm") layout_mode = 2 offset_right = 32.0 offset_bottom = 32.0 texture = ExtResource("3_3u7nt") [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 [node name="ViewportContainer" type="SubViewportContainer" parent="."] material = SubResource("ShaderMaterial_ubp15") layout_mode = 0 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")]