82 lines
2.1 KiB
Plaintext
82 lines
2.1 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://cf34vk5r055dx"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Main.cs" id="1_k1i8e"]
|
|
[ext_resource type="Script" path="res://Scenes/FPSLabel.cs" id="2_8cb7y"]
|
|
[ext_resource type="Script" path="res://Scenes/SettingsController.cs" id="3_a4w6m"]
|
|
|
|
[node name="Main" type="Node2D"]
|
|
script = ExtResource("1_k1i8e")
|
|
DebugVisualization = true
|
|
BrushSize = 2
|
|
TextureResolution = 0.35
|
|
RainAmount = 5.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="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 = 5.0
|
|
step = 0.01
|
|
value = 1.0
|