Basics
This commit is contained in:
parent
c8956dc38b
commit
0e9e17cfdc
20 changed files with 267 additions and 1 deletions
54
addons/pvzadventure/scenes/adventure_editor.tscn
Normal file
54
addons/pvzadventure/scenes/adventure_editor.tscn
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dkq82o31vr3i2"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dkgxtig5fwdgi" path="res://addons/pvzadventure/scripts/AdventureEditor.cs" id="1_go5yu"]
|
||||
[ext_resource type="Script" uid="uid://binuuattefn7d" path="res://addons/pvzadventure/scripts/FileButton.cs" id="2_d5hwn"]
|
||||
|
||||
[node name="AdventureEditor" type="MarginContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 5
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_right = 5
|
||||
theme_override_constants/margin_bottom = 5
|
||||
script = ExtResource("1_go5yu")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="StatusBar" type="PanelContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/StatusBar"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="FileButton" type="MenuButton" parent="VBoxContainer/StatusBar/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "File"
|
||||
switch_on_hover = true
|
||||
item_count = 3
|
||||
popup/item_0/text = "New"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "Save"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "Open"
|
||||
popup/item_2/id = 2
|
||||
script = ExtResource("2_d5hwn")
|
||||
|
||||
[node name="FileDialog" type="FileDialog" parent="VBoxContainer/StatusBar/HBoxContainer/FileButton"]
|
||||
|
||||
[node name="WorkArea" type="HSplitContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
split_offset = 500
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/WorkArea"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Inspector" type="VSplitContainer" parent="VBoxContainer/WorkArea"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="LevelInspector" type="Tree" parent="VBoxContainer/WorkArea/Inspector"]
|
||||
layout_mode = 2
|
||||
Loading…
Add table
Add a link
Reference in a new issue