-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheditor.tscn
135 lines (111 loc) · 4.7 KB
/
editor.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[gd_scene load_steps=10 format=3 uid="uid://61gu0hssk52h"]
[ext_resource type="Script" path="res://UI/PanCamera.gd" id="1_bwty5"]
[ext_resource type="PackedScene" uid="uid://cqq8meapgi251" path="res://PuzzleCanvas/puzzle_canvas.tscn" id="2_hetub"]
[ext_resource type="Texture2D" uid="uid://dxt53gumvtia8" path="res://Assets/Pulau_Padar.jpg" id="3_f3am2"]
[ext_resource type="Script" path="res://UI/RandomizeEdgeButton.gd" id="4_ruoih"]
[ext_resource type="Script" path="res://UI/EdgeInspector.gd" id="7_ydjap"]
[ext_resource type="Script" path="res://UI/StateMachine.gd" id="8_ac1sk"]
[ext_resource type="Script" path="res://UI/StateGrid.gd" id="8_qgcry"]
[ext_resource type="Script" path="res://GlobalHotkeyHandler.gd" id="9_cd06m"]
[ext_resource type="Script" path="res://Sticker/StickerParser.gd" id="10_dkdjr"]
[node name="Node2D" type="Node2D"]
[node name="Camera2D" type="Camera2D" parent="."]
anchor_mode = 0
script = ExtResource("1_bwty5")
[node name="PuzzleCanvas" parent="." node_paths=PackedStringArray("state_machine", "camera") instance=ExtResource("2_hetub")]
state_machine = NodePath("../StateMachine")
camera = NodePath("../Camera2D")
[node name="BackgroundImage" type="Sprite2D" parent="."]
z_index = -1
position = Vector2(200, 100)
scale = Vector2(0.306625, 0.306625)
texture = ExtResource("3_f3am2")
centered = false
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer"]
offset_left = 13.0
offset_top = 104.0
offset_right = 149.0
offset_bottom = 275.0
[node name="RandomizeEdgeButton" type="Button" parent="CanvasLayer/VBoxContainer" node_paths=PackedStringArray("canvas")]
layout_mode = 2
text = "Randomize Edge"
script = ExtResource("4_ruoih")
canvas = NodePath("../../../PuzzleCanvas")
[node name="EdgeInspector" type="VBoxContainer" parent="CanvasLayer" node_paths=PackedStringArray("canvas")]
offset_left = 15.0
offset_top = 143.0
offset_right = 147.0
offset_bottom = 298.0
script = ExtResource("7_ydjap")
canvas = NodePath("../../PuzzleCanvas")
[node name="SelectionLabel" type="Label" parent="CanvasLayer/EdgeInspector"]
layout_mode = 2
text = "No Selection"
horizontal_alignment = 1
[node name="SingleEdgeView" type="Panel" parent="CanvasLayer/EdgeInspector"]
custom_minimum_size = Vector2(50, 90)
layout_mode = 2
[node name="LinePreview" type="Line2D" parent="CanvasLayer/EdgeInspector/SingleEdgeView"]
position = Vector2(5, 7)
points = PackedVector2Array(18, 26, 54, 28, 50, 17, 63, 5, 78, 17, 73, 32, 109, 30)
width = 3.0
[node name="SmallEdgeButtons" type="HBoxContainer" parent="CanvasLayer/EdgeInspector"]
layout_mode = 2
[node name="LongerEdgeButton" type="Button" parent="CanvasLayer/EdgeInspector/SmallEdgeButtons"]
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
text = "+"
[node name="ShorterEdgeButton" type="Button" parent="CanvasLayer/EdgeInspector/SmallEdgeButtons"]
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
text = "-"
[node name="LeftShiftEdgeButton" type="Button" parent="CanvasLayer/EdgeInspector/SmallEdgeButtons"]
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
text = "<"
[node name="RightShiftEdgeButton" type="Button" parent="CanvasLayer/EdgeInspector/SmallEdgeButtons"]
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
text = ">"
[node name="StateGrid" type="ItemList" parent="CanvasLayer" node_paths=PackedStringArray("state_machine")]
offset_left = 13.0
offset_top = 12.0
offset_right = 204.0
offset_bottom = 101.0
max_text_lines = 2
text_overrun_behavior = 0
item_count = 5
max_columns = 3
same_column_width = true
fixed_column_width = 50
item_0/text = "Select"
item_1/text = "Node"
item_2/text = "Edge"
item_3/text = "Sculpt"
item_4/text = "Items for ex."
script = ExtResource("8_qgcry")
state_machine = NodePath("../../StateMachine")
[node name="StateMachine" type="Node" parent="." node_paths=PackedStringArray("canvas", "ui_canvas")]
script = ExtResource("8_ac1sk")
canvas = NodePath("../PuzzleCanvas")
ui_canvas = NodePath("../CanvasLayer")
[node name="StickerParser" type="Node" parent="." node_paths=PackedStringArray("canvas")]
script = ExtResource("10_dkdjr")
canvas = NodePath("../PuzzleCanvas")
[node name="GlobalHotkeyHandler" type="Node" parent="." node_paths=PackedStringArray("canvas", "state_machine")]
script = ExtResource("9_cd06m")
canvas = NodePath("../PuzzleCanvas")
state_machine = NodePath("../StateMachine")
[node name="SaveFileDialog" type="FileDialog" parent="GlobalHotkeyHandler"]
ok_button_text = "Save"
access = 2
[node name="LoadFileDialog" type="FileDialog" parent="GlobalHotkeyHandler"]
title = "Open a File"
ok_button_text = "Open"
file_mode = 0
access = 2
[node name="ExportFileDialog" type="FileDialog" parent="GlobalHotkeyHandler"]
title = "Export a Vector Graphic"
ok_button_text = "Export"
access = 2