-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tscn
115 lines (89 loc) · 4.3 KB
/
main.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[gd_scene load_steps=10 format=3 uid="uid://c4atwge0pv80"]
[ext_resource type="Script" path="res://main.gd" id="1_gnx52"]
[ext_resource type="Theme" uid="uid://dwpq5fy6hwu8f" path="res://ui/sidebar_theme.tres" id="2_0h620"]
[ext_resource type="Script" path="res://MouseDetect.gd" id="2_6dac1"]
[ext_resource type="Script" path="res://ui/tool_panel.gd" id="3_vdhes"]
[ext_resource type="Script" path="res://ui/presets_panel.gd" id="4_8deob"]
[ext_resource type="PackedScene" uid="uid://cc63afj3rd6kt" path="res://ui/export_panel.tscn" id="5_4aft5"]
[ext_resource type="PackedScene" uid="uid://by4871thql3of" path="res://ui/console.tscn" id="6_4xgvq"]
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_3tlp1"]
size = Vector2(1024, 1024)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vicio"]
size = Vector2(1024, 1024)
[node name="Main" type="Node2D"]
script = ExtResource("1_gnx52")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="SidePanel" type="MarginContainer" parent="CanvasLayer"]
anchors_preset = -1
anchor_left = 0.66
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 0
grow_vertical = 2
theme = ExtResource("2_0h620")
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/SidePanel"]
layout_mode = 2
[node name="TabContainer" type="TabContainer" parent="CanvasLayer/SidePanel/VBoxContainer"]
layout_mode = 2
[node name="Tool" type="MarginContainer" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer"]
unique_name_in_owner = true
layout_mode = 2
script = ExtResource("3_vdhes")
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer/Tool"]
layout_mode = 2
[node name="PropertiesContainer" type="VBoxContainer" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer/Tool/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 10
[node name="HSeparator2" type="HSeparator" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer/Tool/VBoxContainer"]
layout_mode = 2
[node name="StaticButtons" type="VBoxContainer" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer/Tool/VBoxContainer"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer/Tool/VBoxContainer/StaticButtons"]
layout_mode = 2
[node name="ClearCanvasButton" type="Button" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer/Tool/VBoxContainer/StaticButtons/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "Clear canvas"
[node name="NewPresetButton" type="Button" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer/Tool/VBoxContainer/StaticButtons/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "New Preset"
[node name="RunChaosButton" type="Button" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer/Tool/VBoxContainer/StaticButtons"]
unique_name_in_owner = true
layout_mode = 2
text = "Run Chaos Game!"
[node name="Presets" type="MarginContainer" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer"]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(2.08165e-12, 500)
layout_mode = 2
script = ExtResource("4_8deob")
[node name="Tree" type="Tree" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer/Presets"]
layout_mode = 2
[node name="Export" parent="CanvasLayer/SidePanel/VBoxContainer/TabContainer" instance=ExtResource("5_4aft5")]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(2.08165e-12, 500)
layout_mode = 2
[node name="Console" parent="CanvasLayer/SidePanel/VBoxContainer" instance=ExtResource("6_4xgvq")]
layout_mode = 2
[node name="Game" type="Sprite2D" parent="."]
unique_name_in_owner = true
position = Vector2(546, 547)
texture = SubResource("PlaceholderTexture2D_3tlp1")
[node name="HelperLine" type="Line2D" parent="Game"]
closed = true
width = 2.0
default_color = Color(1, 0, 1, 1)
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Game"]
remote_path = NodePath("../../MouseDetect")
update_rotation = false
update_scale = false
[node name="MouseDetect" type="Area2D" parent="."]
unique_name_in_owner = true
position = Vector2(546, 547)
script = ExtResource("2_6dac1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="MouseDetect"]
shape = SubResource("RectangleShape2D_vicio")