Files
FOU/Scenes/main.tscn
2025-04-27 15:31:20 +02:00

91 lines
2.5 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://cf34vk5r055dx"]
[ext_resource type="Script" uid="uid://cmvvubxfvdca7" path="res://Scripts/Main.cs" id="1_k1i8e"]
[ext_resource type="Script" uid="uid://d3cbk8f7lckbr" path="res://Scenes/FPSLabel.cs" id="2_8cb7y"]
[ext_resource type="Script" uid="uid://dxmkbb5f1t368" path="res://Scenes/SettingsController.cs" id="3_a4w6m"]
[ext_resource type="Script" uid="uid://52grhydeyy0t" path="res://Scenes/PerfDetails.cs" id="3_u2p48"]
[node name="Main" type="Node2D"]
script = ExtResource("1_k1i8e")
DebugMode = true
BrushSize = 4
RainAmount = 1.0
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="LevelDrawer" type="TextureRect" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
expand_mode = 2
[node name="TopUI" type="Control" parent="CanvasLayer"]
layout_mode = 3
anchors_preset = 10
anchor_right = 1.0
grow_horizontal = 2
[node name="FpsLabel" type="Label" parent="CanvasLayer/TopUI"]
layout_mode = 0
offset_right = 76.0
offset_bottom = 37.0
text = "FPS: 0
"
script = ExtResource("2_8cb7y")
[node name="PerfDetails" type="Label" parent="CanvasLayer/TopUI"]
layout_mode = 0
offset_top = 30.0
offset_right = 76.0
offset_bottom = 67.0
theme_override_font_sizes/font_size = 10
text = "Active Elements: 0"
script = ExtResource("3_u2p48")
[node name="Settings" type="VBoxContainer" parent="CanvasLayer/TopUI"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -275.0
offset_bottom = 46.0
grow_horizontal = 0
script = ExtResource("3_a4w6m")
[node name="brushSettings" type="HBoxContainer" parent="CanvasLayer/TopUI/Settings"]
layout_mode = 2
alignment = 2
[node name="lblBrushSize" type="Label" parent="CanvasLayer/TopUI/Settings/brushSettings"]
layout_mode = 2
text = "Brush Size:"
[node name="slSize" type="HSlider" parent="CanvasLayer/TopUI/Settings/brushSettings"]
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 1
min_value = 1.0
value = 1.0
rounded = true
[node name="weatherSettings" type="HBoxContainer" parent="CanvasLayer/TopUI/Settings"]
layout_mode = 2
alignment = 2
[node name="lblRainAmt" type="Label" parent="CanvasLayer/TopUI/Settings/weatherSettings"]
layout_mode = 2
text = "Rain Amount:
"
[node name="slRain" type="HSlider" parent="CanvasLayer/TopUI/Settings/weatherSettings"]
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 1
max_value = 10.0
step = 0.01
value = 1.0