|
1 | | -[gd_scene load_steps=14 format=2] |
| 1 | +[gd_scene load_steps=15 format=2] |
2 | 2 |
|
3 | 3 | [ext_resource path="res://addons/dialogic/Editor/editor_view.gd" type="Script" id=1] |
4 | 4 | [ext_resource path="res://addons/dialogic/Images/dialog.svg" type="Texture" id=2] |
|
11 | 11 | [ext_resource path="res://addons/dialogic/Images/open-icon.svg" type="Texture" id=9] |
12 | 12 | [ext_resource path="res://addons/dialogic/Images/closed-icon.svg" type="Texture" id=10] |
13 | 13 | [ext_resource path="res://addons/dialogic/Images/portraits/df-1.png" type="Texture" id=11] |
| 14 | +[ext_resource path="res://addons/dialogic/Images/change-scene.svg" type="Texture" id=12] |
14 | 15 |
|
15 | 16 | [sub_resource type="StyleBoxFlat" id=1] |
16 | 17 | content_margin_left = 5.0 |
@@ -121,26 +122,31 @@ __meta__ = { |
121 | 122 | "_edit_use_anchors_": false |
122 | 123 | } |
123 | 124 |
|
124 | | -[node name="EventTools" type="VBoxContainer" parent="Editor"] |
| 125 | +[node name="EventTools" type="VSplitContainer" parent="Editor"] |
125 | 126 | margin_right = 180.0 |
126 | 127 | margin_bottom = 541.0 |
127 | 128 | rect_min_size = Vector2( 180, 0 ) |
128 | 129 |
|
129 | | -[node name="Label" type="Label" parent="Editor/EventTools"] |
| 130 | +[node name="VBoxContainer2" type="VBoxContainer" parent="Editor/EventTools"] |
| 131 | +margin_right = 180.0 |
| 132 | +margin_bottom = 180.0 |
| 133 | +size_flags_vertical = 3 |
| 134 | + |
| 135 | +[node name="Label" type="Label" parent="Editor/EventTools/VBoxContainer2"] |
130 | 136 | margin_right = 180.0 |
131 | 137 | margin_bottom = 14.0 |
132 | 138 | text = "Dialogs" |
133 | 139 |
|
134 | | -[node name="DialogItemList" type="ItemList" parent="Editor/EventTools"] |
| 140 | +[node name="DialogItemList" type="ItemList" parent="Editor/EventTools/VBoxContainer2"] |
135 | 141 | margin_top = 18.0 |
136 | 142 | margin_right = 180.0 |
137 | | -margin_bottom = 270.0 |
| 143 | +margin_bottom = 180.0 |
138 | 144 | size_flags_horizontal = 3 |
139 | 145 | size_flags_vertical = 3 |
140 | 146 | allow_rmb_select = true |
141 | 147 |
|
142 | 148 | [node name="VBoxContainer" type="VBoxContainer" parent="Editor/EventTools"] |
143 | | -margin_top = 274.0 |
| 149 | +margin_top = 192.0 |
144 | 150 | margin_right = 180.0 |
145 | 151 | margin_bottom = 541.0 |
146 | 152 | __meta__ = { |
@@ -168,59 +174,81 @@ text = " Scene Event" |
168 | 174 | icon = ExtResource( 4 ) |
169 | 175 | align = 0 |
170 | 176 |
|
171 | | -[node name="ButtonAudio" type="Button" parent="Editor/EventTools/VBoxContainer"] |
| 177 | +[node name="ButtonChangeScene" type="Button" parent="Editor/EventTools/VBoxContainer"] |
172 | 178 | margin_top = 82.0 |
173 | 179 | margin_right = 180.0 |
174 | 180 | margin_bottom = 110.0 |
| 181 | +text = " Change Scene" |
| 182 | +icon = ExtResource( 12 ) |
| 183 | +align = 0 |
| 184 | + |
| 185 | +[node name="ButtonAudio" type="Button" parent="Editor/EventTools/VBoxContainer"] |
| 186 | +margin_top = 114.0 |
| 187 | +margin_right = 180.0 |
| 188 | +margin_bottom = 142.0 |
175 | 189 | text = " Audio Event" |
176 | 190 | icon = ExtResource( 8 ) |
177 | 191 | align = 0 |
178 | 192 |
|
179 | 193 | [node name="ButtonCharacterJoin" type="Button" parent="Editor/EventTools/VBoxContainer"] |
180 | | -margin_top = 114.0 |
| 194 | +margin_top = 146.0 |
181 | 195 | margin_right = 180.0 |
182 | | -margin_bottom = 142.0 |
| 196 | +margin_bottom = 174.0 |
183 | 197 | text = " Character Join" |
184 | 198 | icon = ExtResource( 3 ) |
185 | 199 | align = 0 |
186 | 200 |
|
187 | 201 | [node name="ButtonCharacterLeave" type="Button" parent="Editor/EventTools/VBoxContainer"] |
188 | | -margin_top = 146.0 |
| 202 | +margin_top = 178.0 |
189 | 203 | margin_right = 180.0 |
190 | | -margin_bottom = 174.0 |
| 204 | +margin_bottom = 206.0 |
191 | 205 | text = " Character Leave" |
192 | 206 | icon = ExtResource( 5 ) |
193 | 207 | align = 0 |
194 | 208 |
|
195 | 209 | [node name="Separator" type="Panel" parent="Editor/EventTools/VBoxContainer"] |
196 | 210 | self_modulate = Color( 1, 1, 1, 0 ) |
197 | | -margin_top = 178.0 |
| 211 | +margin_top = 210.0 |
198 | 212 | margin_right = 180.0 |
199 | | -margin_bottom = 185.065 |
| 213 | +margin_bottom = 217.065 |
200 | 214 | rect_min_size = Vector2( 0, 7.065 ) |
201 | 215 |
|
202 | 216 | [node name="LabelNodes" type="Label" parent="Editor/EventTools/VBoxContainer"] |
203 | | -margin_top = 189.0 |
| 217 | +margin_top = 221.0 |
204 | 218 | margin_right = 180.0 |
205 | | -margin_bottom = 203.0 |
| 219 | +margin_bottom = 235.0 |
206 | 220 | text = "View" |
207 | 221 |
|
208 | 222 | [node name="ButtonFold" type="Button" parent="Editor/EventTools/VBoxContainer"] |
209 | | -margin_top = 207.0 |
| 223 | +margin_top = 239.0 |
210 | 224 | margin_right = 180.0 |
211 | | -margin_bottom = 235.0 |
| 225 | +margin_bottom = 267.0 |
212 | 226 | text = "Fold all" |
213 | 227 | icon = ExtResource( 10 ) |
214 | 228 | align = 0 |
215 | 229 |
|
216 | 230 | [node name="ButtonUnfold" type="Button" parent="Editor/EventTools/VBoxContainer"] |
217 | | -margin_top = 239.0 |
| 231 | +margin_top = 271.0 |
218 | 232 | margin_right = 180.0 |
219 | | -margin_bottom = 267.0 |
| 233 | +margin_bottom = 299.0 |
220 | 234 | text = "Unfold all" |
221 | 235 | icon = ExtResource( 9 ) |
222 | 236 | align = 0 |
223 | 237 |
|
| 238 | +[node name="LabelNodes2" type="Label" parent="Editor/EventTools/VBoxContainer"] |
| 239 | +margin_top = 303.0 |
| 240 | +margin_right = 180.0 |
| 241 | +margin_bottom = 317.0 |
| 242 | +text = "Other" |
| 243 | + |
| 244 | +[node name="ButtonGDScript" type="Button" parent="Editor/EventTools/VBoxContainer"] |
| 245 | +margin_top = 321.0 |
| 246 | +margin_right = 180.0 |
| 247 | +margin_bottom = 349.0 |
| 248 | +text = " GDScript" |
| 249 | +icon = ExtResource( 6 ) |
| 250 | +align = 0 |
| 251 | + |
224 | 252 | [node name="EventEditor" type="ScrollContainer" parent="Editor"] |
225 | 253 | margin_left = 192.0 |
226 | 254 | margin_right = 997.0 |
@@ -459,19 +487,23 @@ margin_bottom = 52.7127 |
459 | 487 | __meta__ = { |
460 | 488 | "_edit_use_anchors_": false |
461 | 489 | } |
| 490 | + |
| 491 | +[node name="AudioPreview" type="AudioStreamPlayer2D" parent="."] |
462 | 492 | [connection signal="pressed" from="HBoxContainer/EventButton" to="." method="_on_EventButton_pressed"] |
463 | 493 | [connection signal="pressed" from="HBoxContainer/CharactersButton" to="." method="_on_CharactersButton_pressed"] |
464 | 494 | [connection signal="pressed" from="HBoxContainer/ButtonSave" to="." method="_on_ButtonSave_pressed"] |
465 | 495 | [connection signal="pressed" from="HBoxContainer/ReloadResource" to="." method="_on_ReloadResource_pressed"] |
466 | | -[connection signal="item_rmb_selected" from="Editor/EventTools/DialogItemList" to="." method="_on_DialogItemList_item_rmb_selected"] |
467 | | -[connection signal="item_selected" from="Editor/EventTools/DialogItemList" to="." method="_on_DialogItemList_item_selected"] |
| 496 | +[connection signal="item_rmb_selected" from="Editor/EventTools/VBoxContainer2/DialogItemList" to="." method="_on_DialogItemList_item_rmb_selected"] |
| 497 | +[connection signal="item_selected" from="Editor/EventTools/VBoxContainer2/DialogItemList" to="." method="_on_DialogItemList_item_selected"] |
468 | 498 | [connection signal="pressed" from="Editor/EventTools/VBoxContainer/ButtonText" to="." method="_on_ButtonText_pressed"] |
469 | 499 | [connection signal="pressed" from="Editor/EventTools/VBoxContainer/ButtonBackground" to="." method="_on_ButtonBackground_pressed"] |
| 500 | +[connection signal="pressed" from="Editor/EventTools/VBoxContainer/ButtonChangeScene" to="." method="_on_ButtonBackground_pressed"] |
470 | 501 | [connection signal="pressed" from="Editor/EventTools/VBoxContainer/ButtonAudio" to="." method="_on_ButtonAudio_pressed"] |
471 | 502 | [connection signal="pressed" from="Editor/EventTools/VBoxContainer/ButtonCharacterJoin" to="." method="_on_ButtonCharacter_pressed"] |
472 | 503 | [connection signal="pressed" from="Editor/EventTools/VBoxContainer/ButtonCharacterLeave" to="." method="_on_ButtonCharacterLeave_pressed"] |
473 | 504 | [connection signal="pressed" from="Editor/EventTools/VBoxContainer/ButtonFold" to="." method="_on_ButtonFold_pressed"] |
474 | 505 | [connection signal="pressed" from="Editor/EventTools/VBoxContainer/ButtonUnfold" to="." method="_on_ButtonUnfold_pressed"] |
| 506 | +[connection signal="pressed" from="Editor/EventTools/VBoxContainer/ButtonGDScript" to="." method="_on_ButtonBackground_pressed"] |
475 | 507 | [connection signal="pressed" from="Editor/CharacterTools/Button" to="." method="_on_Button_pressed"] |
476 | 508 | [connection signal="item_selected" from="Editor/CharacterTools/CharacterItemList" to="." method="_on_ItemList_item_selected"] |
477 | 509 | [connection signal="pressed" from="Editor/CharacterEditor/HBoxContainer/Container/Actions/SaveButton" to="." method="_on_character_SaveButton_pressed"] |
|
0 commit comments