mirror of
https://github.com/Relintai/godot_data_editor.git
synced 2025-04-13 12:20:46 +02:00
Exported the demo to 3.0.
This commit is contained in:
parent
e730598725
commit
8562947160
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.import
|
@ -1,46 +1,46 @@
|
||||
[gd_scene load_steps=3 format=1]
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://World.gd" type="Script" id=1]
|
||||
[ext_resource path="" type="Script" id=1]
|
||||
[ext_resource path="res://ShopDialog.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="World" type="Node2D"]
|
||||
|
||||
script/script = ExtResource( 1 )
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="ShopButtons" type="VButtonArray" parent="."]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 465.0
|
||||
margin/top = 43.0
|
||||
margin/right = 600.0
|
||||
margin/bottom = 191.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 465.0
|
||||
margin_top = 43.0
|
||||
margin_right = 600.0
|
||||
margin_bottom = 191.0
|
||||
flat = false
|
||||
button/count = 0
|
||||
button/min_button_size = -1.0
|
||||
button/align = 437
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="ShopDialog" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
visibility/visible = false
|
||||
visible = false
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 189.0
|
||||
margin/bottom = 14.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 189.0
|
||||
margin_bottom = 14.0
|
||||
text = "Open this scene to test items and shops."
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[connection signal="button_selected" from="ShopButtons" to="." method="_on_ShopButtons_button_selected"]
|
||||
|
||||
|
||||
[connection signal="button_selected" from="ShopButtons" to="." method="_on_ShopButtons_button_selected" binds=[ ]]
|
||||
|
@ -20,4 +20,4 @@ func create_shop(merchant):
|
||||
get_node("VBoxContainer/MerchantLabel").set_bbcode(merchant.name)
|
||||
get_node("VBoxContainer/GreetingLabel").set_text(merchant.greeting)
|
||||
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=2 format=1]
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://ShopDialog.gd" type="Script" id=1]
|
||||
|
||||
@ -6,70 +6,73 @@
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 316.0
|
||||
margin/bottom = 288.0
|
||||
popup/exclusive = false
|
||||
window/title = ""
|
||||
script/script = ExtResource( 1 )
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 316.0
|
||||
margin_bottom = 288.0
|
||||
popup_exclusive = false
|
||||
window_title = ""
|
||||
script = ExtResource( 1 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 0.0
|
||||
margin/bottom = 0.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="MerchantLabel" type="RichTextLabel" parent="VBoxContainer"]
|
||||
|
||||
rect/min_size = Vector2( 0, 30 )
|
||||
rect_min_size = Vector2( 0, 30 )
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 316.0
|
||||
margin/bottom = 30.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 316.0
|
||||
margin_bottom = 30.0
|
||||
custom_colors/default_color = Color( 1, 0, 0, 1 )
|
||||
bbcode/enabled = false
|
||||
bbcode/bbcode = "<<MERCHANT>>"
|
||||
bbcode_enabled = false
|
||||
bbcode_text = "<<MERCHANT>>"
|
||||
visible_characters = -1
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="GreetingLabel" type="Label" parent="VBoxContainer"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 34.0
|
||||
margin/right = 316.0
|
||||
margin/bottom = 48.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 34.0
|
||||
margin_right = 316.0
|
||||
margin_bottom = 48.0
|
||||
text = "<<GREETING>>"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="ItemList" type="ItemList" parent="VBoxContainer"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 52.0
|
||||
margin/right = 316.0
|
||||
margin/bottom = 288.0
|
||||
|
||||
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 52.0
|
||||
margin_right = 316.0
|
||||
margin_bottom = 288.0
|
||||
mouse_filter = 0
|
||||
|
@ -16,4 +16,4 @@ func _on_ShopButtons_button_selected( button_idx ):
|
||||
for merchant in all_merchants.values():
|
||||
if merchant.name == text:
|
||||
shop_dialog.create_shop(merchant)
|
||||
shop_dialog.popup_centered()
|
||||
shop_dialog.popup_centered()
|
||||
|
@ -1,46 +1,46 @@
|
||||
[gd_scene load_steps=3 format=1]
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://ShopTest.gd" type="Script" id=1]
|
||||
[ext_resource path="res://ShopDialog.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="World" type="Node2D"]
|
||||
|
||||
script/script = ExtResource( 1 )
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="ShopButtons" type="VButtonArray" parent="."]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 465.0
|
||||
margin/top = 43.0
|
||||
margin/right = 600.0
|
||||
margin/bottom = 191.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 465.0
|
||||
margin_top = 43.0
|
||||
margin_right = 600.0
|
||||
margin_bottom = 191.0
|
||||
flat = false
|
||||
button/count = 0
|
||||
button/min_button_size = -1.0
|
||||
button/align = 437
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="ShopDialog" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
visibility/visible = false
|
||||
visible = false
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 189.0
|
||||
margin/bottom = 14.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 189.0
|
||||
margin_bottom = 14.0
|
||||
text = "Open this scene to test items and shops."
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[connection signal="button_selected" from="ShopButtons" to="." method="_on_ShopButtons_button_selected"]
|
||||
|
||||
|
||||
[connection signal="button_selected" from="ShopButtons" to="." method="_on_ShopButtons_button_selected" binds=[ ]]
|
||||
|
@ -28,3 +28,4 @@ func _on_SpellList_item_selected( index ):
|
||||
var element = data.get_item("element", spell.element)
|
||||
get_node("RightVBox/Type").set_bbcode("[color=#" + element.color.to_html() + "]" + element.name + "[/color]")
|
||||
get_node("RightVBox/BaseDamage").set_text("Base Damage: " + str(spell.base_damage))
|
||||
|
||||
|
@ -1,162 +1,171 @@
|
||||
[gd_scene load_steps=3 format=1]
|
||||
[gd_scene load_steps=11 format=2]
|
||||
|
||||
[ext_resource path="res://Spellbook.gd" type="Script" id=1]
|
||||
[ext_resource path="res://title_font.fnt" type="BitmapFont" id=2]
|
||||
[ext_resource path="res://title_font.font" type="BitmapFont" id=2]
|
||||
|
||||
[node name="Panel" type="Panel"]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 0.0
|
||||
margin/bottom = 0.0
|
||||
script/script = ExtResource( 1 )
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
script = ExtResource( 1 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="LeftVBox" type="VBoxContainer" parent="."]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 200.0
|
||||
margin/bottom = 600.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 600.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Label" type="Label" parent="LeftVBox"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 200.0
|
||||
margin/bottom = 21.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 21.0
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
text = "Spellbook"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="LeftVBox"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 25.0
|
||||
margin/right = 200.0
|
||||
margin/bottom = 600.0
|
||||
scroll/horizontal = true
|
||||
scroll/vertical = true
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 25.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 600.0
|
||||
scroll_horizontal_enabled = true
|
||||
scroll_vertical_enabled = true
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="SpellList" type="ItemList" parent="LeftVBox/ScrollContainer"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 200.0
|
||||
margin/bottom = 575.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 575.0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="RightVBox" type="VBoxContainer" parent="."]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 270.0
|
||||
margin/top = 20.0
|
||||
margin/right = 0.0
|
||||
margin/bottom = 0.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 270.0
|
||||
margin_top = 20.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="SkillName" type="Label" parent="RightVBox"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 754.0
|
||||
margin/bottom = 21.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 754.0
|
||||
margin_bottom = 21.0
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="Description" type="Label" parent="RightVBox"]
|
||||
|
||||
rect/min_size = Vector2( 0, 100 )
|
||||
rect_min_size = Vector2( 0, 100 )
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 25.0
|
||||
margin/right = 754.0
|
||||
margin/bottom = 125.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 25.0
|
||||
margin_right = 754.0
|
||||
margin_bottom = 125.0
|
||||
autowrap = true
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="Type" type="RichTextLabel" parent="RightVBox"]
|
||||
|
||||
rect/min_size = Vector2( 0, 20 )
|
||||
rect_min_size = Vector2( 0, 20 )
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 129.0
|
||||
margin/right = 754.0
|
||||
margin/bottom = 149.0
|
||||
bbcode/enabled = true
|
||||
bbcode/bbcode = ""
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 129.0
|
||||
margin_right = 754.0
|
||||
margin_bottom = 149.0
|
||||
bbcode_enabled = true
|
||||
bbcode_text = ""
|
||||
visible_characters = -1
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="BaseDamage" type="Label" parent="RightVBox"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 153.0
|
||||
margin/right = 754.0
|
||||
margin/bottom = 167.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 153.0
|
||||
margin_right = 754.0
|
||||
margin_bottom = 167.0
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 247.0
|
||||
margin/bottom = 14.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 247.0
|
||||
margin_bottom = 14.0
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[connection signal="item_selected" from="LeftVBox/ScrollContainer/SpellList" to="." method="_on_SpellList_item_selected"]
|
||||
|
||||
|
||||
[connection signal="item_selected" from="LeftVBox/ScrollContainer/SpellList" to="." method="_on_SpellList_item_selected" binds=[ ]]
|
||||
|
17
demo/addons/godot_data_editor/.gitattributes
vendored
17
demo/addons/godot_data_editor/.gitattributes
vendored
@ -1,17 +0,0 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
|
||||
# Custom for Visual Studio
|
||||
*.cs diff=csharp
|
||||
|
||||
# Standard to msysgit
|
||||
*.doc diff=astextplain
|
||||
*.DOC diff=astextplain
|
||||
*.docx diff=astextplain
|
||||
*.DOCX diff=astextplain
|
||||
*.dot diff=astextplain
|
||||
*.DOT diff=astextplain
|
||||
*.pdf diff=astextplain
|
||||
*.PDF diff=astextplain
|
||||
*.rtf diff=astextplain
|
||||
*.RTF diff=astextplain
|
@ -8,3 +8,4 @@ func _ready():
|
||||
|
||||
func set_label(text):
|
||||
get_node("Panel/Body/Label").set_text(text)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=4 format=1]
|
||||
[gd_scene load_steps=11 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/class_overview.gd" type="Script" id=1]
|
||||
[ext_resource path="res://addons/godot_data_editor/style/light_gray_panel.tres" type="StyleBox" id=2]
|
||||
@ -6,158 +6,167 @@
|
||||
|
||||
[node name="ClassOverview" type="PanelContainer"]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 0.0
|
||||
margin/bottom = 0.0
|
||||
script/script = ExtResource( 1 )
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
script = ExtResource( 1 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 7.0
|
||||
margin/top = 7.0
|
||||
margin/right = 1273.0
|
||||
margin/bottom = 593.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 7.0
|
||||
margin_top = 7.0
|
||||
margin_right = 1273.0
|
||||
margin_bottom = 593.0
|
||||
custom_styles/panel = ExtResource( 2 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Body" type="VBoxContainer" parent="Panel"]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 10.0
|
||||
margin/top = 10.0
|
||||
margin/right = 10.0
|
||||
margin/bottom = 10.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 10.0
|
||||
margin_top = 10.0
|
||||
margin_right = -10.0
|
||||
margin_bottom = -10.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="ClassPropertiesLabel" type="Label" parent="Panel/Body"]
|
||||
|
||||
visibility/visible = false
|
||||
visible = false
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 1246.0
|
||||
margin/bottom = 19.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1246.0
|
||||
margin_bottom = 19.0
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Static Class Properties"
|
||||
uppercase = true
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="Panel/Body"]
|
||||
|
||||
visibility/visible = false
|
||||
visible = false
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 1246.0
|
||||
margin/bottom = 3.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1246.0
|
||||
margin_bottom = 3.0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Control" type="Control" parent="Panel/Body"]
|
||||
|
||||
rect/min_size = Vector2( 0, 15 )
|
||||
rect_min_size = Vector2( 0, 15 )
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 1246.0
|
||||
margin/bottom = 15.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1246.0
|
||||
margin_bottom = 15.0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="Panel/Body"]
|
||||
|
||||
visibility/visible = false
|
||||
visible = false
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 19.0
|
||||
margin/right = 1246.0
|
||||
margin/bottom = 566.0
|
||||
scroll/horizontal = true
|
||||
scroll/vertical = true
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 19.0
|
||||
margin_right = 1246.0
|
||||
margin_bottom = 566.0
|
||||
scroll_horizontal_enabled = true
|
||||
scroll_vertical_enabled = true
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Statics" type="VBoxContainer" parent="Panel/Body/Scroll"]
|
||||
|
||||
visibility/visible = false
|
||||
visible = false
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 1246.0
|
||||
margin/bottom = 0.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1246.0
|
||||
margin_bottom = 0.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="NoStaticsPropertiesLabel" type="Label" parent="Panel/Body/Scroll/Statics"]
|
||||
|
||||
visibility/visible = false
|
||||
visible = false
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 1246.0
|
||||
margin/bottom = 14.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1246.0
|
||||
margin_bottom = 14.0
|
||||
text = "There are no static properties for this class. Click below to add one."
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="AddStaticPropertyButton" type="Button" parent="Panel/Body/Scroll/Statics"]
|
||||
|
||||
visibility/visible = false
|
||||
visible = false
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 18.0
|
||||
margin/right = 1246.0
|
||||
margin/bottom = 38.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 18.0
|
||||
margin_right = 1246.0
|
||||
margin_bottom = 38.0
|
||||
toggle_mode = false
|
||||
enabled_focus_mode = 2
|
||||
shortcut = null
|
||||
text = "Add static property"
|
||||
flat = false
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/Body"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 19.0
|
||||
margin/right = 1246.0
|
||||
margin/bottom = 33.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 19.0
|
||||
margin_right = 1246.0
|
||||
margin_bottom = 33.0
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
|
||||
mouse_filter = 1
|
||||
|
@ -48,3 +48,4 @@ func item_changed(property, value):
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=4 format=1]
|
||||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/style/light_gray_panel.tres" type="StyleBox" id=1]
|
||||
[ext_resource path="res://addons/godot_data_editor/class_properties.gd" type="Script" id=2]
|
||||
@ -6,111 +6,117 @@
|
||||
|
||||
[node name="ClassProperties" type="Panel"]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 0.0
|
||||
margin/bottom = 0.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
custom_styles/panel = ExtResource( 1 )
|
||||
script/script = ExtResource( 2 )
|
||||
script = ExtResource( 2 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Body" type="VBoxContainer" parent="."]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 10.0
|
||||
margin/top = 10.0
|
||||
margin/right = 10.0
|
||||
margin/bottom = 10.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 10.0
|
||||
margin_top = 10.0
|
||||
margin_right = -10.0
|
||||
margin_bottom = -10.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="Body"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 2.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 2.0
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Class Properties"
|
||||
uppercase = true
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="Body"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 6.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 9.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 6.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 9.0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Spacer" type="Control" parent="Body"]
|
||||
|
||||
rect/min_size = Vector2( 0, 15 )
|
||||
rect_min_size = Vector2( 0, 15 )
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 13.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 28.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 13.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 28.0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="Body"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 32.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 580.0
|
||||
scroll/horizontal = true
|
||||
scroll/vertical = true
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 32.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 580.0
|
||||
scroll_horizontal_enabled = true
|
||||
scroll_vertical_enabled = true
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="ClassProperties" type="VBoxContainer" parent="Body/Scroll"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 454.0
|
||||
margin/bottom = 14.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 454.0
|
||||
margin_bottom = 14.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="NoClassPropertiesLabel" type="Label" parent="Body/Scroll/ClassProperties"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 454.0
|
||||
margin/bottom = 14.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 454.0
|
||||
margin_bottom = 14.0
|
||||
text = "There are currently no class properties. Edit the Class to add new ones."
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
|
||||
mouse_filter = 1
|
||||
|
@ -74,4 +74,4 @@ func delete_custom_property(property_name):
|
||||
|
||||
# Fires signal when the item's custom properties is to be updated, delegates to data_editor_gui.func _on_NewCustomPropertyButton_button_down():
|
||||
func _on_NewCustomPropertyButton_button_down():
|
||||
emit_signal("custom_property_add_requested")
|
||||
emit_signal("custom_property_add_requested")
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=4 format=1]
|
||||
[gd_scene load_steps=9 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/style/light_gray_panel.tres" type="StyleBox" id=1]
|
||||
[ext_resource path="res://addons/godot_data_editor/custom_properties.gd" type="Script" id=2]
|
||||
@ -6,129 +6,136 @@
|
||||
|
||||
[node name="Panel" type="Panel"]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 0.0
|
||||
margin/bottom = 0.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
custom_styles/panel = ExtResource( 1 )
|
||||
script/script = ExtResource( 2 )
|
||||
script = ExtResource( 2 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Body" type="VBoxContainer" parent="."]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 10.0
|
||||
margin/top = 10.0
|
||||
margin/right = 10.0
|
||||
margin/bottom = 10.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 10.0
|
||||
margin_top = 10.0
|
||||
margin_right = -10.0
|
||||
margin_bottom = -10.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="Body"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 2.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 2.0
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Custom Properties"
|
||||
uppercase = true
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="Body"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 6.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 9.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 6.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 9.0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Spacer" type="Control" parent="Body"]
|
||||
|
||||
rect/min_size = Vector2( 0, 15 )
|
||||
rect_min_size = Vector2( 0, 15 )
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 13.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 28.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 13.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 28.0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="Body"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 32.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 556.0
|
||||
scroll/horizontal = true
|
||||
scroll/vertical = true
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 32.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 556.0
|
||||
scroll_horizontal_enabled = true
|
||||
scroll_vertical_enabled = true
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="CustomProperties" type="VBoxContainer" parent="Body/Scroll"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 441.0
|
||||
margin/bottom = 524.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 441.0
|
||||
margin_bottom = 524.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="NoCustomPropertiesLabel" type="Label" parent="Body/Scroll/CustomProperties"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 441.0
|
||||
margin/bottom = 14.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 441.0
|
||||
margin_bottom = 14.0
|
||||
text = "There are no custom properties for this item. Click below to add one."
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="NewCustomPropertyButton" type="Button" parent="Body"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 560.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 580.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 560.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 580.0
|
||||
toggle_mode = false
|
||||
enabled_focus_mode = 2
|
||||
shortcut = null
|
||||
text = "Add new custom property"
|
||||
flat = false
|
||||
mouse_filter = 0
|
||||
|
||||
[connection signal="button_down" from="Body/NewCustomPropertyButton" to="." method="_on_NewCustomPropertyButton_button_down"]
|
||||
|
||||
|
||||
[connection signal="button_down" from="Body/NewCustomPropertyButton" to="." method="_on_NewCustomPropertyButton_button_down" binds=[ ]]
|
||||
|
@ -130,4 +130,4 @@ func stop_observing_changes(observer):
|
||||
|
||||
|
||||
func set_item_progress(item, property, value):
|
||||
set_progress(item._class, item._id, property, value)
|
||||
set_progress(item._class, item._id, property, value)
|
||||
|
@ -94,3 +94,4 @@ func make_visible(visible):
|
||||
gui.hide()
|
||||
|
||||
|
||||
|
||||
|
@ -419,3 +419,4 @@ func log_text(text):
|
||||
file.store_line(old_text + date + text)
|
||||
|
||||
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -53,3 +53,4 @@ func update_property(property, value):
|
||||
|
||||
func _init(id):
|
||||
self._id = id
|
||||
|
||||
|
@ -1,11 +1,10 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=1]
|
||||
[gd_resource type="DynamicFont" load_steps=1 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/fonts/DroidSans.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
|
||||
font/size = 22
|
||||
font/use_mipmaps = false
|
||||
font/use_filter = false
|
||||
font/font = ExtResource( 1 )
|
||||
|
||||
size = 22
|
||||
use_mipmaps = false
|
||||
use_filter = false
|
||||
font_data = ExtResource( 1 )
|
||||
|
@ -1,11 +1,10 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=1]
|
||||
[gd_resource type="DynamicFont" load_steps=1 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/fonts/DroidSerif-Bold.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
|
||||
font/size = 16
|
||||
font/use_mipmaps = false
|
||||
font/use_filter = false
|
||||
font/font = ExtResource( 1 )
|
||||
|
||||
size = 16
|
||||
use_mipmaps = false
|
||||
use_filter = false
|
||||
font_data = ExtResource( 1 )
|
||||
|
@ -1,11 +1,10 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=1]
|
||||
[gd_resource type="DynamicFont" load_steps=1 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/fonts/DroidSerif-Italic.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
|
||||
font/size = 16
|
||||
font/use_mipmaps = false
|
||||
font/use_filter = false
|
||||
font/font = ExtResource( 1 )
|
||||
|
||||
size = 16
|
||||
use_mipmaps = false
|
||||
use_filter = false
|
||||
font_data = ExtResource( 1 )
|
||||
|
@ -1,11 +1,10 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=1]
|
||||
[gd_resource type="DynamicFont" load_steps=1 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/fonts/DroidSerif-Italic.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
|
||||
font/size = 16
|
||||
font/use_mipmaps = false
|
||||
font/use_filter = false
|
||||
font/font = ExtResource( 1 )
|
||||
|
||||
size = 16
|
||||
use_mipmaps = false
|
||||
use_filter = false
|
||||
font_data = ExtResource( 1 )
|
||||
|
31
demo/addons/godot_data_editor/icons/empty.png.import
Normal file
31
demo/addons/godot_data_editor/icons/empty.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/empty.png-ab391fe8c7c2756436d8684a7bc00891.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/empty.png"
|
||||
dest_files=[ "res://.import/empty.png-ab391fe8c7c2756436d8684a7bc00891.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/gom.png.import
Normal file
31
demo/addons/godot_data_editor/icons/gom.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/gom.png-46342ff6dc8b6fe7bd0ebd22513898ee.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/gom.png"
|
||||
dest_files=[ "res://.import/gom.png-46342ff6dc8b6fe7bd0ebd22513898ee.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/icon_add.png.import
Normal file
31
demo/addons/godot_data_editor/icons/icon_add.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_add.png-3679ff738ef2f15c36858ac0282fcf0b.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_add.png"
|
||||
dest_files=[ "res://.import/icon_add.png-3679ff738ef2f15c36858ac0282fcf0b.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/icon_copy.png.import
Normal file
31
demo/addons/godot_data_editor/icons/icon_copy.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_copy.png-78e808e8e3df81e7cb922063ab8ca366.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_copy.png"
|
||||
dest_files=[ "res://.import/icon_copy.png-78e808e8e3df81e7cb922063ab8ca366.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_display-name.png-bb0f3fec3af75dac20731fc3723a8876.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_display-name.png"
|
||||
dest_files=[ "res://.import/icon_display-name.png-bb0f3fec3af75dac20731fc3723a8876.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_duplicate.png-d8e304d2072f672164bbf08c1ac53cc4.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_duplicate.png"
|
||||
dest_files=[ "res://.import/icon_duplicate.png-d8e304d2072f672164bbf08c1ac53cc4.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/icon_edit.png.import
Normal file
31
demo/addons/godot_data_editor/icons/icon_edit.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_edit.png-fb771afabf85663cd00bdef13639bbff.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_edit.png"
|
||||
dest_files=[ "res://.import/icon_edit.png-fb771afabf85663cd00bdef13639bbff.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/icon_empty.png.import
Normal file
31
demo/addons/godot_data_editor/icons/icon_empty.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_empty.png-82b32c5c806582632dad31a506e1893b.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_empty.png"
|
||||
dest_files=[ "res://.import/icon_empty.png-82b32c5c806582632dad31a506e1893b.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/icon_load.png.import
Normal file
31
demo/addons/godot_data_editor/icons/icon_load.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_load.png-425e513e515f03a10c2b3bf5f7c90c18.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_load.png"
|
||||
dest_files=[ "res://.import/icon_load.png-425e513e515f03a10c2b3bf5f7c90c18.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_move_down.png-0861cd83e386cf5d4b7d25943d6248cd.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_move_down.png"
|
||||
dest_files=[ "res://.import/icon_move_down.png-0861cd83e386cf5d4b7d25943d6248cd.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/icon_move_up.png.import
Normal file
31
demo/addons/godot_data_editor/icons/icon_move_up.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_move_up.png-9f54e6dc20a932167c2b22a3a92adc43.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_move_up.png"
|
||||
dest_files=[ "res://.import/icon_move_up.png-9f54e6dc20a932167c2b22a3a92adc43.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_multi_line.png-18bbec1ce9bb3230a6a05c89327c29be.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_multi_line.png"
|
||||
dest_files=[ "res://.import/icon_multi_line.png-18bbec1ce9bb3230a6a05c89327c29be.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/icon_options.png.import
Normal file
31
demo/addons/godot_data_editor/icons/icon_options.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_options.png-3b88e7515faf126b8c37607a0b7b083b.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_options.png"
|
||||
dest_files=[ "res://.import/icon_options.png-3b88e7515faf126b8c37607a0b7b083b.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_reload_small.png-20e2044a0abb62f96251063ddf69fc22.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_reload_small.png"
|
||||
dest_files=[ "res://.import/icon_reload_small.png-20e2044a0abb62f96251063ddf69fc22.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/icon_remove.png.import
Normal file
31
demo/addons/godot_data_editor/icons/icon_remove.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_remove.png-355c2db40e65c7bc4b7bc1032db556e5.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_remove.png"
|
||||
dest_files=[ "res://.import/icon_remove.png-355c2db40e65c7bc4b7bc1032db556e5.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/icon_rename.png.import
Normal file
31
demo/addons/godot_data_editor/icons/icon_rename.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_rename.png-42482054cee66cc2b1f1ac769c1a084a.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_rename.png"
|
||||
dest_files=[ "res://.import/icon_rename.png-42482054cee66cc2b1f1ac769c1a084a.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/icon_save.png.import
Normal file
31
demo/addons/godot_data_editor/icons/icon_save.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_save.png-a04763ae2e6a8089684e089e215160ac.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_save.png"
|
||||
dest_files=[ "res://.import/icon_save.png-a04763ae2e6a8089684e089e215160ac.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/addons/godot_data_editor/icons/icon_script.png.import
Normal file
31
demo/addons/godot_data_editor/icons/icon_script.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_script.png-be3e7ec969a927bc1e84f122e2de68e5.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/godot_data_editor/icons/icon_script.png"
|
||||
dest_files=[ "res://.import/icon_script.png-be3e7ec969a927bc1e84f122e2de68e5.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -55,4 +55,4 @@ func _on_ConfirmationDialog_confirmed():
|
||||
caller.emit_signal("input_dialog_confirmed")
|
||||
|
||||
|
||||
caller.disconnect("input_dialog_confirmed", caller, callback_method)
|
||||
caller.disconnect("input_dialog_confirmed", caller, callback_method)
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=2 format=1]
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/input_dialog.gd" type="Script" id=1]
|
||||
|
||||
@ -6,66 +6,68 @@
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 440.0
|
||||
margin/bottom = 150.0
|
||||
popup/exclusive = true
|
||||
window/title = "Please Confirm..."
|
||||
dialog/text = "Text"
|
||||
dialog/hide_on_ok = true
|
||||
script/script = ExtResource( 1 )
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 440.0
|
||||
margin_bottom = 150.0
|
||||
popup_exclusive = true
|
||||
window_title = "Please Confirm..."
|
||||
dialog_text = "Text"
|
||||
dialog_hide_on_ok = true
|
||||
script = ExtResource( 1 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="."]
|
||||
|
||||
anchor/top = 1
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 8.0
|
||||
margin/top = 103.0
|
||||
margin/right = 8.0
|
||||
margin/bottom = 45.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 8.0
|
||||
margin_top = -103.0
|
||||
margin_right = -8.0
|
||||
margin_bottom = -45.0
|
||||
custom_constants/separation = 10
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="LineEdit1" type="LineEdit" parent="VBox"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 424.0
|
||||
margin/bottom = 24.0
|
||||
placeholder/text = "Hint 1"
|
||||
placeholder/alpha = 0.6
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 424.0
|
||||
margin_bottom = 24.0
|
||||
placeholder_text = "Hint 1"
|
||||
placeholder_alpha = 0.6
|
||||
focus_mode = 2
|
||||
caret/caret_blink = false
|
||||
caret/caret_blink_speed = 0.65
|
||||
caret_blink = false
|
||||
caret_blink_speed = 0.65
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="LineEdit2" type="LineEdit" parent="VBox"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 34.0
|
||||
margin/right = 424.0
|
||||
margin/bottom = 58.0
|
||||
placeholder/text = "Hint 2"
|
||||
placeholder/alpha = 0.6
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 34.0
|
||||
margin_right = 424.0
|
||||
margin_bottom = 58.0
|
||||
placeholder_text = "Hint 2"
|
||||
placeholder_alpha = 0.6
|
||||
focus_mode = 2
|
||||
caret/caret_blink = false
|
||||
caret/caret_blink_speed = 0.65
|
||||
|
||||
[connection signal="confirmed" from="." to="." method="_on_ConfirmationDialog_confirmed"]
|
||||
|
||||
caret_blink = false
|
||||
caret_blink_speed = 0.65
|
||||
mouse_filter = 0
|
||||
|
||||
[connection signal="confirmed" from="." to="." method="_on_ConfirmationDialog_confirmed" binds=[ ]]
|
||||
|
@ -184,7 +184,7 @@ func load_binary_item(item_class, file_name):
|
||||
var item = classes[item_class].new(id)
|
||||
if status == OK:
|
||||
# Load all the variables
|
||||
while file.get_pos() < file.get_len():
|
||||
while file.get_position() < file.get_len():
|
||||
var property_name = str(file.get_var())
|
||||
|
||||
var value = file.get_var()
|
||||
@ -347,7 +347,7 @@ func delete_item(item):
|
||||
var directory = Directory.new()
|
||||
# TODO: Check why items[item._class].erase(item) doesn't work
|
||||
var items_of_class = items[item._class]
|
||||
var status = directory.remove(path)
|
||||
var status = directory.remove_and_collide(path)
|
||||
load_manager()
|
||||
|
||||
|
||||
@ -418,7 +418,7 @@ func duplicate_item(item, id, display_name, overwrite = true):
|
||||
func rename_item(item, new_id):
|
||||
new_id = sanitize_string(new_id)
|
||||
var directory = Directory.new()
|
||||
directory.remove(get_item_path(item))
|
||||
directory.remove_and_collide(get_item_path(item))
|
||||
if item._id == item._display_name:
|
||||
item._display_name = new_id
|
||||
item._id = new_id
|
||||
@ -457,16 +457,16 @@ func delete_class(item_class):
|
||||
var file_name = directory.get_next()
|
||||
while (file_name != ""):
|
||||
if not directory.current_is_dir():
|
||||
directory.remove(path + "/" + file_name)
|
||||
directory.remove_and_collide(path + "/" + file_name)
|
||||
file_name = directory.get_next()
|
||||
pass
|
||||
directory.remove(path)
|
||||
directory.remove_and_collide(path)
|
||||
classes.erase(item_class)
|
||||
class_names.erase(item_class)
|
||||
items.erase(item_class)
|
||||
|
||||
directory.remove(config_class_directory + "/" + item_class + ".gd")
|
||||
directory.remove(config_class_directory + "/" + item_class + ".png")
|
||||
directory.remove_and_collide(config_class_directory + "/" + item_class + ".gd")
|
||||
directory.remove_and_collide(config_class_directory + "/" + item_class + ".png")
|
||||
|
||||
func create_class(name, icon_path):
|
||||
# Check if the classes folder already exists. If not, create it-
|
||||
@ -571,11 +571,11 @@ func rename_extension_of_all_items(new_extension, serializer):
|
||||
var new_item_path = original_item_path.replace("." + config_extension, "." + new_extension)
|
||||
if serializer == config_serializer:
|
||||
directory.rename(original_item_path, new_item_path)
|
||||
directory.remove(original_item_path)
|
||||
directory.remove_and_collide(original_item_path)
|
||||
load_config()
|
||||
save_all_items()
|
||||
else:
|
||||
directory.remove(original_item_path)
|
||||
directory.remove_and_collide(original_item_path)
|
||||
load_config()
|
||||
save_all_items()
|
||||
pass
|
||||
@ -587,7 +587,7 @@ func delete_and_resave(is_encrypted, password):
|
||||
for id in items[item_class]:
|
||||
var item = items[item_class][id]
|
||||
var item_path = get_item_path(item)
|
||||
directory.remove(item_path)
|
||||
directory.remove_and_collide(item_path)
|
||||
pass
|
||||
pass
|
||||
load_config()
|
||||
@ -604,4 +604,4 @@ func has_unsaved_items():
|
||||
return false
|
||||
|
||||
# TODO: Lazy loading
|
||||
# TODO: Arrays
|
||||
# TODO: Arrays
|
||||
|
@ -280,10 +280,10 @@ func _on_ClassContextMenu_item_pressed(index):
|
||||
func _on_Tree_item_rmb_selected(pos):
|
||||
var is_leaf = get_selected_item() != null
|
||||
if is_leaf:
|
||||
instance_context_menu.set_pos(get_global_mouse_pos())
|
||||
instance_context_menu.set_position(get_global_mouse_position())
|
||||
instance_context_menu.popup()
|
||||
else:
|
||||
class_context_menu.set_pos(get_global_mouse_pos())
|
||||
class_context_menu.set_position(get_global_mouse_position())
|
||||
class_context_menu.popup()
|
||||
|
||||
|
||||
@ -298,3 +298,4 @@ func _on_DeleteItemDialog_confirmed():
|
||||
|
||||
|
||||
#TODO: Proper memory management?
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=8 format=1]
|
||||
[gd_scene load_steps=12 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/item_tree.gd" type="Script" id=1]
|
||||
[ext_resource path="res://addons/godot_data_editor/icons/icon_add.png" type="Texture" id=2]
|
||||
@ -9,10 +9,10 @@
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
|
||||
content_margin/left = -1.0
|
||||
content_margin/right = -1.0
|
||||
content_margin/top = -1.0
|
||||
content_margin/bottom = -1.0
|
||||
content_margin_left = -1.0
|
||||
content_margin_right = -1.0
|
||||
content_margin_top = -1.0
|
||||
content_margin_bottom = -1.0
|
||||
bg_color = Color( 0.172549, 0.164706, 0.196078, 1 )
|
||||
light_color = Color( 0.113725, 0.113725, 0.12549, 1 )
|
||||
dark_color = Color( 0.113725, 0.113725, 0.12549, 1 )
|
||||
@ -22,175 +22,184 @@ draw_bg = true
|
||||
|
||||
[node name="Tree" type="Control"]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 0.0
|
||||
margin/bottom = 0.0
|
||||
script/script = ExtResource( 1 )
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
script = ExtResource( 1 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="."]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
rect/min_size = Vector2( 150, 0 )
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
rect_min_size = Vector2( 150, 0 )
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 50.0
|
||||
margin/right = 0.0
|
||||
margin/bottom = 0.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 50.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="Panel"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 7.0
|
||||
margin/top = 7.0
|
||||
margin/right = 1273.0
|
||||
margin/bottom = 543.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 7.0
|
||||
margin_top = 7.0
|
||||
margin_right = 1273.0
|
||||
margin_bottom = 543.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="Panel/VBox"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 1266.0
|
||||
margin/bottom = 24.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1266.0
|
||||
margin_bottom = 24.0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/VBox/Margin"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 8.0
|
||||
margin/top = 0.0
|
||||
margin/right = 1266.0
|
||||
margin/bottom = 24.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 8.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1266.0
|
||||
margin_bottom = 24.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="AddButton" type="ToolButton" parent="Panel/VBox/Margin/HBoxContainer"]
|
||||
|
||||
visibility/visible = false
|
||||
rect/min_size = Vector2( 28, 28 )
|
||||
visible = false
|
||||
rect_min_size = Vector2( 28, 28 )
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 28.0
|
||||
margin/bottom = 28.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 28.0
|
||||
margin_bottom = 28.0
|
||||
toggle_mode = false
|
||||
enabled_focus_mode = 2
|
||||
shortcut = null
|
||||
icon = ExtResource( 2 )
|
||||
flat = true
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="AddButton2" type="ToolButton" parent="Panel/VBox/Margin/HBoxContainer"]
|
||||
|
||||
visibility/visible = false
|
||||
rect/min_size = Vector2( 28, 28 )
|
||||
visible = false
|
||||
rect_min_size = Vector2( 28, 28 )
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 32.0
|
||||
margin/top = 0.0
|
||||
margin/right = 60.0
|
||||
margin/bottom = 28.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 32.0
|
||||
margin_top = 0.0
|
||||
margin_right = 60.0
|
||||
margin_bottom = 28.0
|
||||
toggle_mode = false
|
||||
enabled_focus_mode = 2
|
||||
shortcut = null
|
||||
icon = ExtResource( 3 )
|
||||
flat = true
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Filter" type="LineEdit" parent="Panel/VBox/Margin/HBoxContainer"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 1258.0
|
||||
margin/bottom = 24.0
|
||||
placeholder/text = "Search"
|
||||
placeholder/alpha = 0.6
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1258.0
|
||||
margin_bottom = 24.0
|
||||
placeholder_text = "Search"
|
||||
placeholder_alpha = 0.6
|
||||
focus_mode = 2
|
||||
caret/caret_blink = false
|
||||
caret/caret_blink_speed = 0.65
|
||||
caret_blink = false
|
||||
caret_blink_speed = 0.65
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Tree" type="Tree" parent="Panel/VBox"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 28.0
|
||||
margin/right = 1266.0
|
||||
margin/bottom = 536.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 28.0
|
||||
margin_right = 1266.0
|
||||
margin_bottom = 536.0
|
||||
custom_styles/bg = SubResource( 1 )
|
||||
custom_colors/guide_color = Color( 0.398438, 0.398438, 0.398438, 1 )
|
||||
custom_constants/hseparation = 4
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="ClassContextMenu" type="PopupMenu" parent="."]
|
||||
|
||||
visibility/visible = false
|
||||
visible = false
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 20.0
|
||||
margin/bottom = 20.0
|
||||
popup/exclusive = false
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 20.0
|
||||
margin_bottom = 20.0
|
||||
popup_exclusive = false
|
||||
items = [ "Add Item", ExtResource( 2 ), false, false, false, 0, 0, null, "", false, "Delete Class", ExtResource( 3 ), false, false, false, 1, 0, null, "", false, "Rename Class", ExtResource( 4 ), false, false, false, -1, 0, null, "", false ]
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="InstanceContextMenu" type="PopupMenu" parent="."]
|
||||
|
||||
visibility/visible = false
|
||||
visible = false
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 20.0
|
||||
margin/bottom = 20.0
|
||||
popup/exclusive = false
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 20.0
|
||||
margin_bottom = 20.0
|
||||
popup_exclusive = false
|
||||
items = [ "Add", ExtResource( 2 ), false, false, false, 0, 0, null, "", false, "Rename", ExtResource( 4 ), false, false, false, 1, 0, null, "", false, "Delete", ExtResource( 3 ), false, false, false, 2, 0, null, "", false, "Duplicate", ExtResource( 5 ), false, false, false, 3, 0, null, "", false, "Open File", ExtResource( 6 ), false, false, false, 4, 0, null, "", false ]
|
||||
mouse_filter = 0
|
||||
|
||||
[connection signal="button_down" from="Panel/VBox/Margin/HBoxContainer/AddButton" to="." method="_on_AddButton_button_down"]
|
||||
[connection signal="button_down" from="Panel/VBox/Margin/HBoxContainer/AddButton" to="." method="_on_AddButton_button_down" binds=[ ]]
|
||||
|
||||
[connection signal="text_changed" from="Panel/VBox/Margin/HBoxContainer/Filter" to="." method="_on_Filter_text_changed"]
|
||||
[connection signal="text_changed" from="Panel/VBox/Margin/HBoxContainer/Filter" to="." method="_on_Filter_text_changed" binds=[ ]]
|
||||
|
||||
[connection signal="cell_selected" from="Panel/VBox/Tree" to="." method="_on_Tree_cell_selected"]
|
||||
[connection signal="cell_selected" from="Panel/VBox/Tree" to="." method="_on_Tree_cell_selected" binds=[ ]]
|
||||
|
||||
[connection signal="item_rmb_selected" from="Panel/VBox/Tree" to="." method="_on_Tree_item_rmb_selected"]
|
||||
[connection signal="item_rmb_selected" from="Panel/VBox/Tree" to="." method="_on_Tree_item_rmb_selected" binds=[ ]]
|
||||
|
||||
[connection signal="about_to_show" from="ClassContextMenu" to="." method="_on_ClassContextMenu_about_to_show"]
|
||||
[connection signal="about_to_show" from="ClassContextMenu" to="." method="_on_ClassContextMenu_about_to_show" binds=[ ]]
|
||||
|
||||
[connection signal="item_pressed" from="ClassContextMenu" to="." method="_on_ClassContextMenu_item_pressed"]
|
||||
|
||||
[connection signal="about_to_show" from="InstanceContextMenu" to="." method="_on_InstanceContextMenu_about_to_show"]
|
||||
|
||||
[connection signal="item_pressed" from="InstanceContextMenu" to="." method="_on_InstanceContextMenu_item_pressed"]
|
||||
[connection signal="id_pressed" from="ClassContextMenu" to="." method="_on_ClassContextMenu_item_pressed" binds=[ ]]
|
||||
|
||||
[connection signal="about_to_show" from="InstanceContextMenu" to="." method="_on_InstanceContextMenu_about_to_show" binds=[ ]]
|
||||
|
||||
[connection signal="id_pressed" from="InstanceContextMenu" to="." method="_on_InstanceContextMenu_item_pressed" binds=[ ]]
|
||||
|
@ -1,115 +1,121 @@
|
||||
[gd_scene load_steps=3 format=1]
|
||||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/style/light_gray_panel.tres" type="StyleBox" id=1]
|
||||
[ext_resource path="res://addons/godot_data_editor/fonts/droid_serif_bold.tres" type="DynamicFont" id=2]
|
||||
|
||||
[node name="Control" type="Panel"]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 2.0
|
||||
margin/top = -1.0
|
||||
margin/right = -2.0
|
||||
margin/bottom = 1.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 2.0
|
||||
margin_top = -1.0
|
||||
margin_right = 2.0
|
||||
margin_bottom = -1.0
|
||||
custom_styles/panel = ExtResource( 1 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Body" type="VBoxContainer" parent="."]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 10.0
|
||||
margin/top = 10.0
|
||||
margin/right = 10.0
|
||||
margin/bottom = 10.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 10.0
|
||||
margin_top = 10.0
|
||||
margin_right = -10.0
|
||||
margin_bottom = -10.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="Body"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 19.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 19.0
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
text = "No Classes"
|
||||
uppercase = true
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="Body"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 23.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 26.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 23.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 26.0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Spacer" type="Control" parent="Body"]
|
||||
|
||||
rect/min_size = Vector2( 0, 15 )
|
||||
rect_min_size = Vector2( 0, 15 )
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 30.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 45.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 30.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 45.0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="Body"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 3
|
||||
margin/left = 0.0
|
||||
margin/top = 49.0
|
||||
margin/right = 1260.0
|
||||
margin/bottom = 580.0
|
||||
scroll/horizontal = true
|
||||
scroll/vertical = true
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
margin_left = 0.0
|
||||
margin_top = 49.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 580.0
|
||||
scroll_horizontal_enabled = true
|
||||
scroll_vertical_enabled = true
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="ClassProperties" type="VBoxContainer" parent="Body/Scroll"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 699.0
|
||||
margin/bottom = 31.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 699.0
|
||||
margin_bottom = 31.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="NoClassPropertiesLabel" type="Label" parent="Body/Scroll/ClassProperties"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 699.0
|
||||
margin/bottom = 31.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 699.0
|
||||
margin_bottom = 31.0
|
||||
text = "Currently, there are no classes. Click on \"Add Class\" to add a new class and make the necessary adjustments.
|
||||
Once you feel ready, press \"Refresh\" and start adding instances/items."
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
|
||||
mouse_filter = 1
|
||||
|
@ -188,3 +188,4 @@ func _on_EncryptCheckBox_button_down():
|
||||
|
||||
func _on_SanitizeIdsCheckBox_button_down():
|
||||
sanitize_ids_check_box.set_text(str(!sanitize_ids_check_box.is_pressed()))
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=4 format=1]
|
||||
[gd_scene load_steps=22 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/options.gd" type="Script" id=1]
|
||||
[ext_resource path="res://addons/godot_data_editor/style/light_gray_panel.tres" type="StyleBox" id=2]
|
||||
@ -6,74 +6,78 @@
|
||||
|
||||
[node name="Options" type="AcceptDialog"]
|
||||
|
||||
rect/min_size = Vector2( 400, 300 )
|
||||
rect_min_size = Vector2( 400, 300 )
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 400.0
|
||||
margin/bottom = 300.0
|
||||
popup/exclusive = true
|
||||
window/title = "Options"
|
||||
dialog/hide_on_ok = false
|
||||
script/script = ExtResource( 1 )
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 400.0
|
||||
margin_bottom = 300.0
|
||||
popup_exclusive = true
|
||||
window_title = "Options"
|
||||
dialog_hide_on_ok = false
|
||||
script = ExtResource( 1 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 8.0
|
||||
margin/top = 8.0
|
||||
margin/right = 8.0
|
||||
margin/bottom = 40.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 8.0
|
||||
margin_top = 8.0
|
||||
margin_right = -8.0
|
||||
margin_bottom = -40.0
|
||||
custom_styles/panel = ExtResource( 2 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="GridContainer" type="GridContainer" parent="Panel"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 7.0
|
||||
margin/top = 7.0
|
||||
margin/right = 377.0
|
||||
margin/bottom = 255.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 7.0
|
||||
margin_top = 7.0
|
||||
margin_right = 377.0
|
||||
margin_bottom = 255.0
|
||||
custom_constants/vseparation = 10
|
||||
custom_constants/hseparation = 5
|
||||
columns = 2
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="SerializerLabel" type="Label" parent="Panel/GridContainer"]
|
||||
|
||||
rect/min_size = Vector2( 150, 0 )
|
||||
rect_min_size = Vector2( 150, 0 )
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 3.0
|
||||
margin/right = 150.0
|
||||
margin/bottom = 17.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 3.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 17.0
|
||||
text = "Serializer"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="SerializerOption" type="OptionButton" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 2
|
||||
margin/left = 155.0
|
||||
margin/top = 0.0
|
||||
margin/right = 370.0
|
||||
margin/bottom = 20.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
margin_left = 155.0
|
||||
margin_top = 0.0
|
||||
margin_right = 370.0
|
||||
margin_bottom = 20.0
|
||||
toggle_mode = false
|
||||
enabled_focus_mode = 2
|
||||
shortcut = null
|
||||
@ -82,63 +86,67 @@ flat = false
|
||||
align = 0
|
||||
selected = 0
|
||||
items = [ "json", null, false, 0, null, "binary", null, false, 1, null ]
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="ExtensionLabel" type="Label" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 35.0
|
||||
margin/right = 150.0
|
||||
margin/bottom = 49.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 35.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 49.0
|
||||
text = "File Extension"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="ExtensionLineEdit" type="LineEdit" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 155.0
|
||||
margin/top = 30.0
|
||||
margin/right = 370.0
|
||||
margin/bottom = 54.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 155.0
|
||||
margin_top = 30.0
|
||||
margin_right = 370.0
|
||||
margin_bottom = 54.0
|
||||
text = "json"
|
||||
placeholder/alpha = 0.6
|
||||
placeholder_alpha = 0.6
|
||||
focus_mode = 2
|
||||
caret/caret_blink = false
|
||||
caret/caret_blink_speed = 0.65
|
||||
caret_blink = false
|
||||
caret_blink_speed = 0.65
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="EncryptLabel" type="Label" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 68.0
|
||||
margin/right = 150.0
|
||||
margin/bottom = 82.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 68.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 82.0
|
||||
text = "Encrypt Files"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="EncryptCheckBox" type="CheckBox" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 155.0
|
||||
margin/top = 64.0
|
||||
margin/right = 370.0
|
||||
margin/bottom = 87.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 155.0
|
||||
margin_top = 64.0
|
||||
margin_right = 370.0
|
||||
margin_bottom = 87.0
|
||||
disabled = true
|
||||
toggle_mode = true
|
||||
enabled_focus_mode = 2
|
||||
@ -146,214 +154,226 @@ shortcut = null
|
||||
text = "False"
|
||||
flat = false
|
||||
align = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="PasswordLabel" type="Label" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 102.0
|
||||
margin/right = 150.0
|
||||
margin/bottom = 116.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 102.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 116.0
|
||||
text = "Password"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="PasswordLineEdit" type="LineEdit" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 155.0
|
||||
margin/top = 97.0
|
||||
margin/right = 370.0
|
||||
margin/bottom = 121.0
|
||||
placeholder/alpha = 0.6
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 155.0
|
||||
margin_top = 97.0
|
||||
margin_right = 370.0
|
||||
margin_bottom = 121.0
|
||||
placeholder_alpha = 0.6
|
||||
editable = false
|
||||
focus_mode = 2
|
||||
caret/caret_blink = false
|
||||
caret/caret_blink_speed = 0.65
|
||||
caret_blink = false
|
||||
caret_blink_speed = 0.65
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="ClassDirectoryLabel" type="Label" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 136.0
|
||||
margin/right = 150.0
|
||||
margin/bottom = 150.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 136.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 150.0
|
||||
text = "Class Directory"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="ClassDirectoryHBox" type="HBoxContainer" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 155.0
|
||||
margin/top = 131.0
|
||||
margin/right = 370.0
|
||||
margin/bottom = 155.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 155.0
|
||||
margin_top = 131.0
|
||||
margin_right = 370.0
|
||||
margin_bottom = 155.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="ClassDirectoryLineEdit" type="LineEdit" parent="Panel/GridContainer/ClassDirectoryHBox"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 183.0
|
||||
margin/bottom = 24.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 183.0
|
||||
margin_bottom = 24.0
|
||||
text = "res://classes"
|
||||
placeholder/alpha = 0.6
|
||||
placeholder_alpha = 0.6
|
||||
focus_mode = 2
|
||||
caret/caret_blink = false
|
||||
caret/caret_blink_speed = 0.65
|
||||
caret_blink = false
|
||||
caret_blink_speed = 0.65
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="ClassDirectoryButton" type="Button" parent="Panel/GridContainer/ClassDirectoryHBox"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 187.0
|
||||
margin/top = 0.0
|
||||
margin/right = 215.0
|
||||
margin/bottom = 24.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 187.0
|
||||
margin_top = 0.0
|
||||
margin_right = 215.0
|
||||
margin_bottom = 24.0
|
||||
toggle_mode = false
|
||||
enabled_focus_mode = 2
|
||||
shortcut = null
|
||||
icon = ExtResource( 3 )
|
||||
flat = false
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="OutputDirectoryLabel" type="Label" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 170.0
|
||||
margin/right = 150.0
|
||||
margin/bottom = 184.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 170.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 184.0
|
||||
text = "Output Directory"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="OutputDirectoryHBox" type="HBoxContainer" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 155.0
|
||||
margin/top = 165.0
|
||||
margin/right = 370.0
|
||||
margin/bottom = 189.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 155.0
|
||||
margin_top = 165.0
|
||||
margin_right = 370.0
|
||||
margin_bottom = 189.0
|
||||
alignment = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="OutputDirectoryLineEdit" type="LineEdit" parent="Panel/GridContainer/OutputDirectoryHBox"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 183.0
|
||||
margin/bottom = 24.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 183.0
|
||||
margin_bottom = 24.0
|
||||
text = "res://data"
|
||||
placeholder/alpha = 0.6
|
||||
placeholder_alpha = 0.6
|
||||
focus_mode = 2
|
||||
caret/caret_blink = false
|
||||
caret/caret_blink_speed = 0.65
|
||||
caret_blink = false
|
||||
caret_blink_speed = 0.65
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="OutputDirectoryButton" type="Button" parent="Panel/GridContainer/OutputDirectoryHBox"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 187.0
|
||||
margin/top = 0.0
|
||||
margin/right = 215.0
|
||||
margin/bottom = 24.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 187.0
|
||||
margin_top = 0.0
|
||||
margin_right = 215.0
|
||||
margin_bottom = 24.0
|
||||
toggle_mode = false
|
||||
enabled_focus_mode = 2
|
||||
shortcut = null
|
||||
icon = ExtResource( 3 )
|
||||
flat = false
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="SanitizeIdsLabel" type="Label" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 0.0
|
||||
margin/top = 203.0
|
||||
margin/right = 150.0
|
||||
margin/bottom = 217.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 0
|
||||
margin_left = 0.0
|
||||
margin_top = 203.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 217.0
|
||||
text = "Sanitize IDs"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="SanitizeIdsCheckBox" type="CheckBox" parent="Panel/GridContainer"]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 155.0
|
||||
margin/top = 199.0
|
||||
margin/right = 370.0
|
||||
margin/bottom = 222.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 155.0
|
||||
margin_top = 199.0
|
||||
margin_right = 370.0
|
||||
margin_bottom = 222.0
|
||||
toggle_mode = true
|
||||
is_pressed = true
|
||||
pressed = true
|
||||
enabled_focus_mode = 2
|
||||
shortcut = null
|
||||
text = "True"
|
||||
flat = false
|
||||
align = 0
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="WarnDialog" type="AcceptDialog" parent="."]
|
||||
|
||||
visibility/visible = false
|
||||
visible = false
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 260.0
|
||||
margin/bottom = 110.0
|
||||
popup/exclusive = false
|
||||
window/title = "Alert!"
|
||||
dialog/hide_on_ok = true
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 260.0
|
||||
margin_bottom = 110.0
|
||||
popup_exclusive = false
|
||||
window_title = "Alert!"
|
||||
dialog_hide_on_ok = true
|
||||
mouse_filter = 0
|
||||
|
||||
[connection signal="confirmed" from="." to="." method="_on_Options_confirmed"]
|
||||
[connection signal="confirmed" from="." to="." method="_on_Options_confirmed" binds=[ ]]
|
||||
|
||||
[connection signal="item_selected" from="Panel/GridContainer/SerializerOption" to="." method="_on_SerializerOption_item_selected"]
|
||||
[connection signal="item_selected" from="Panel/GridContainer/SerializerOption" to="." method="_on_SerializerOption_item_selected" binds=[ ]]
|
||||
|
||||
[connection signal="button_down" from="Panel/GridContainer/EncryptCheckBox" to="." method="_on_EncryptCheckBox_button_down"]
|
||||
[connection signal="button_down" from="Panel/GridContainer/EncryptCheckBox" to="." method="_on_EncryptCheckBox_button_down" binds=[ ]]
|
||||
|
||||
[connection signal="button_down" from="Panel/GridContainer/ClassDirectoryHBox/ClassDirectoryButton" to="." method="_on_ClassDirectoryButton_button_down"]
|
||||
|
||||
[connection signal="button_down" from="Panel/GridContainer/OutputDirectoryHBox/OutputDirectoryButton" to="." method="_on_OutputDirectoryButton_button_down"]
|
||||
|
||||
[connection signal="button_down" from="Panel/GridContainer/SanitizeIdsCheckBox" to="." method="_on_SanitizeIdsCheckBox_button_down"]
|
||||
[connection signal="button_down" from="Panel/GridContainer/ClassDirectoryHBox/ClassDirectoryButton" to="." method="_on_ClassDirectoryButton_button_down" binds=[ ]]
|
||||
|
||||
[connection signal="button_down" from="Panel/GridContainer/OutputDirectoryHBox/OutputDirectoryButton" to="." method="_on_OutputDirectoryButton_button_down" binds=[ ]]
|
||||
|
||||
[connection signal="button_down" from="Panel/GridContainer/SanitizeIdsCheckBox" to="." method="_on_SanitizeIdsCheckBox_button_down" binds=[ ]]
|
||||
|
@ -113,7 +113,7 @@ func create_custom_editor_button(value):
|
||||
return button
|
||||
|
||||
func open_custom_editor():
|
||||
menu.set_pos(get_global_mouse_pos())
|
||||
menu.set_position(get_global_mouse_position())
|
||||
menu.get_children()[1].grab_focus()
|
||||
menu.popup()
|
||||
|
||||
@ -271,9 +271,9 @@ func create_custom_editor(amount, columns, label_w, strings, read_only = false):
|
||||
else:
|
||||
value_label[i].set_text("")
|
||||
|
||||
value_editor[i].set_pos( Vector2( m+label_w+c*(w+m+label_w), m+r*(h+m) ))
|
||||
value_editor[i].set_position( Vector2( m+label_w+c*(w+m+label_w), m+r*(h+m) ))
|
||||
value_editor[i].set_size( Vector2( w, h ) )
|
||||
value_label[i].set_pos( Vector2( m+c*(w+m+label_w), m+r*(h+m) ) )
|
||||
value_label[i].set_position( Vector2( m+c*(w+m+label_w), m+r*(h+m) ) )
|
||||
value_editor[i].set_editable(!read_only)
|
||||
|
||||
pass
|
||||
@ -316,8 +316,8 @@ func get_custom_editor_value(index):
|
||||
elif index == 1: return value.y
|
||||
else: return value.z
|
||||
elif type == TYPE_RECT2:
|
||||
if index == 0: return value.pos.x
|
||||
elif index == 1: return value.pos.y
|
||||
if index == 0: return value.position.x
|
||||
elif index == 1: return value.position.y
|
||||
elif index == 2: return value.size.x
|
||||
else: return value.size.y
|
||||
elif type == TYPE_QUAT:
|
||||
@ -355,12 +355,12 @@ func create_object_or_image():
|
||||
var f = File.new()
|
||||
if value != null and f.file_exists(value):
|
||||
var texture = load(value)
|
||||
var texture_frame = TextureFrame.new()
|
||||
var texture_frame = TextureRect.new()
|
||||
texture_frame.set_expand(true)
|
||||
texture_frame.set_custom_minimum_size(Vector2(get_parent_area_size().y, get_parent_area_size().y))
|
||||
texture_frame.set_texture(texture)
|
||||
var texture_popup = Popup.new()
|
||||
var texture_frame_full = TextureFrame.new()
|
||||
var texture_frame_full = TextureRect.new()
|
||||
texture_frame_full.set_texture(texture)
|
||||
texture_popup.add_child(texture_frame_full)
|
||||
texture_popup.set_size(texture.get_size())
|
||||
@ -467,4 +467,4 @@ func string_enum_property_value_changed(value):
|
||||
|
||||
|
||||
func open_image(texture):
|
||||
pass
|
||||
pass
|
||||
|
@ -1,55 +1,56 @@
|
||||
[gd_scene load_steps=3 format=1]
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_data_editor/property_item.gd" type="Script" id=1]
|
||||
[ext_resource path="res://addons/godot_data_editor/icons/icon_remove.png" type="Texture" id=2]
|
||||
|
||||
[node name="Panel" type="Panel"]
|
||||
|
||||
anchor/right = 1
|
||||
anchor/bottom = 1
|
||||
rect/min_size = Vector2( 0, 26 )
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
rect_min_size = Vector2( 0, 26 )
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = false
|
||||
size_flags/horizontal = 3
|
||||
size_flags/vertical = 2
|
||||
margin/left = 1.0
|
||||
margin/top = 0.0
|
||||
margin/right = -1.0
|
||||
margin/bottom = 574.0
|
||||
script/script = ExtResource( 1 )
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
margin_left = 1.0
|
||||
margin_top = 0.0
|
||||
margin_right = 1.0
|
||||
margin_bottom = -574.0
|
||||
script = ExtResource( 1 )
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="DeleteButton" type="ToolButton" parent="."]
|
||||
|
||||
visibility/visible = false
|
||||
anchor/left = 1
|
||||
anchor/top = 3
|
||||
anchor/right = 1
|
||||
anchor/bottom = 3
|
||||
visible = false
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 1280.0
|
||||
margin/top = 13.0
|
||||
margin/right = 1252.0
|
||||
margin/bottom = -11.0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = -1280.0
|
||||
margin_top = -13.0
|
||||
margin_right = -1252.0
|
||||
margin_bottom = 11.0
|
||||
toggle_mode = false
|
||||
enabled_focus_mode = 2
|
||||
shortcut = null
|
||||
icon = ExtResource( 2 )
|
||||
flat = true
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="PopupMenu" type="PopupMenu" parent="."]
|
||||
|
||||
focus/ignore_mouse = false
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 0.0
|
||||
margin/top = 0.0
|
||||
margin/right = 20.0
|
||||
margin/bottom = 20.0
|
||||
popup/exclusive = false
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 20.0
|
||||
margin_bottom = 20.0
|
||||
popup_exclusive = false
|
||||
items = [ ]
|
||||
|
||||
|
||||
mouse_filter = 0
|
||||
|
@ -1,15 +1,15 @@
|
||||
[gd_resource type="StyleBoxFlat" format=1]
|
||||
[gd_resource type="StyleBoxFlat" load_steps=1 format=2]
|
||||
|
||||
|
||||
[resource]
|
||||
|
||||
content_margin/left = -1.0
|
||||
content_margin/right = -1.0
|
||||
content_margin/top = -1.0
|
||||
content_margin/bottom = -1.0
|
||||
content_margin_left = -1.0
|
||||
content_margin_right = -1.0
|
||||
content_margin_top = -1.0
|
||||
content_margin_bottom = -1.0
|
||||
bg_color = Color( 0.172549, 0.164706, 0.196078, 1 )
|
||||
light_color = Color( 0.8, 0.8, 0.8, 1 )
|
||||
dark_color = Color( 0.8, 0.8, 0.8, 1 )
|
||||
border_size = 0
|
||||
border_blend = true
|
||||
draw_bg = true
|
||||
|
||||
|
@ -7,3 +7,4 @@ func warn(title, text):
|
||||
popup_centered()
|
||||
|
||||
# Probably this should be placed at get_base_control()
|
||||
|
||||
|
@ -6,3 +6,4 @@ export(Texture) var image = null
|
||||
|
||||
func _init(id).(id):
|
||||
pass
|
||||
|
||||
|
31
demo/classes/element.png.import
Normal file
31
demo/classes/element.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/element.png-8f62f9b56627b9e1056c6fc6558a5649.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://classes/element.png"
|
||||
dest_files=[ "res://.import/element.png-8f62f9b56627b9e1056c6fc6558a5649.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -6,3 +6,4 @@ export(String) var greeting = ""
|
||||
|
||||
func _init(id).(id):
|
||||
pass
|
||||
|
||||
|
31
demo/classes/merchant.png.import
Normal file
31
demo/classes/merchant.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/merchant.png-7375374f21abb90280da335e5934e5c7.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://classes/merchant.png"
|
||||
dest_files=[ "res://.import/merchant.png-7375374f21abb90280da335e5934e5c7.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -8,3 +8,4 @@ export(String, MULTILINE) var description = ""
|
||||
|
||||
func _init(id).(id):
|
||||
pass
|
||||
|
||||
|
31
demo/classes/shop_item.png.import
Normal file
31
demo/classes/shop_item.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/shop_item.png-e8211c89457c573ee55642a3387230ea.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://classes/shop_item.png"
|
||||
dest_files=[ "res://.import/shop_item.png-e8211c89457c573ee55642a3387230ea.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -12,3 +12,4 @@ export(Sample) var sound = null
|
||||
func _init(id).(id):
|
||||
pass
|
||||
|
||||
|
||||
|
31
demo/classes/spell.png.import
Normal file
31
demo/classes/spell.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/spell.png-0246ae6e819ecdd67dc5a9748e1ff829.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://classes/spell.png"
|
||||
dest_files=[ "res://.import/spell.png-0246ae6e819ecdd67dc5a9748e1ff829.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -8,3 +8,4 @@ export(Color) var your_color_property = Color(1,0,1)
|
||||
|
||||
func _init(id).(id):
|
||||
pass
|
||||
|
||||
|
31
demo/classes/test.png.import
Normal file
31
demo/classes/test.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/test.png-fed3ce78aa475a233c252255b176a348.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://classes/test.png"
|
||||
dest_files=[ "res://.import/test.png-fed3ce78aa475a233c252255b176a348.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -1 +0,0 @@
|
||||
{"image":["res://graphics/icon_earth.png", 4], "_last_modified":[1501969193, 2], "_id":["earth", 4], "_display_name":["Earth", 4], "_class_name":["Element", 4], "_class":["element", 4], "_custom_properties":{}, "color":["ff746d63", 14], "_created":[1501962816, 3], "_persistent":[true, 1], "name":["Earth", 4]}
|
@ -1 +0,0 @@
|
||||
{"image":["res://graphics/icon_fire.png", 4], "_last_modified":[1501969193, 2], "_id":["fire", 4], "_display_name":["Fire", 4], "_class_name":["Element", 4], "_class":["element", 4], "_custom_properties":{}, "color":["ffd87a00", 14], "_created":[1501962794, 3], "_persistent":[true, 1], "name":["Fire", 4]}
|
@ -1 +0,0 @@
|
||||
{"image":["res://graphics/icon_water.png", 4], "_last_modified":[1501969193, 2], "_id":["water", 4], "_display_name":["Water", 4], "_class_name":["Element", 4], "_class":["element", 4], "_custom_properties":{}, "color":["ff007fd8", 14], "_created":[1501962806, 3], "_persistent":[true, 1], "name":["Water", 4]}
|
@ -1 +0,0 @@
|
||||
{"image":["res://graphics/icon_wind.png", 4], "_last_modified":[1501969193, 2], "_id":["wind", 4], "_display_name":["Wind", 4], "_class_name":["Element", 4], "_class":["element", 4], "_custom_properties":{}, "color":["ff00d866", 14], "_created":[1501962812, 3], "_persistent":[true, 1], "name":["Wind", 4]}
|
@ -1 +0,0 @@
|
||||
{"_last_modified":[1501969193, 2], "_id":["armor_shop", 4], "greeting":["I sell armor.", 4], "_display_name":["Armor Shop", 4], "_class_name":["Merchant", 4], "_class":["merchant", 4], "_custom_properties":{}, "_created":[1501789305, 3], "_persistent":[true, 1], "name":["Armor Shop", 4]}
|
@ -1 +0,0 @@
|
||||
{"_last_modified":[1501969193, 2], "_id":["inn", 4], "greeting":["100% HP!", 4], "_display_name":["Inn", 4], "_class_name":["Merchant", 4], "_class":["merchant", 4], "_custom_properties":{}, "_created":[1501789305, 3], "_persistent":[true, 1], "name":["Inn", 4]}
|
@ -1 +0,0 @@
|
||||
{"_last_modified":[1501969193, 2], "_id":["travelling_salesman", 4], "greeting":["Howdy!", 4], "_display_name":["Travelling Salesman", 4], "_class_name":["Merchant", 4], "_class":["merchant", 4], "_custom_properties":{}, "_created":[1501789305, 3], "_persistent":[true, 1], "name":["Travelling Salesman", 4]}
|
@ -1 +0,0 @@
|
||||
{"_last_modified":[1501969193, 2], "_id":["weapon_shop", 4], "greeting":["Surprise: We sell weapons.", 4], "_display_name":["Weapon Shop", 4], "_class_name":["Merchant", 4], "_class":["merchant", 4], "_custom_properties":{}, "_created":[1501789357, 3], "_persistent":[true, 1], "name":["Weapon Shop", 4]}
|
@ -1 +0,0 @@
|
||||
{"price":[25, 3], "_last_modified":[1501969193, 2], "description":["", 4], "_id":["armor_1", 4], "_display_name":["armor_1", 4], "_class_name":["Shop Item", 4], "_class":["shop_item", 4], "_custom_properties":{}, "seller":["Armor Shop", 4], "_created":[1501937294, 3], "_persistent":[true, 1], "icon":["res://icon.png", 4], "name":["Armor 1", 4]}
|
@ -1 +0,0 @@
|
||||
{"price":[35, 3], "_last_modified":[1501969193, 2], "description":["", 4], "_id":["armor_2", 4], "_display_name":["armor_2", 4], "_class_name":["Shop Item", 4], "_class":["shop_item", 4], "_custom_properties":{}, "seller":["Armor Shop", 4], "_created":[1501937298, 3], "_persistent":[true, 1], "icon":["res://icon.png", 4], "name":["Armor 2", 4]}
|
@ -1 +0,0 @@
|
||||
{"price":[1500, 3], "_last_modified":[1501969193, 2], "description":["Much damage. Wow.", 4], "_id":["doge_axe", 4], "_display_name":["Doge Axe", 4], "_class_name":["Shop Item", 4], "_class":["shop_item", 4], "_custom_properties":{}, "seller":["Weapon Shop", 4], "_created":[1501786832, 3], "_persistent":[true, 1], "icon":["res://icon.png", 4], "name":["Doge Axe", 4]}
|
@ -1 +0,0 @@
|
||||
{"price":[25, 3], "_last_modified":[1501969193, 2], "description":["", 4], "_id":["herb", 4], "_display_name":["herb", 4], "_class_name":["Shop Item", 4], "_class":["shop_item", 4], "_custom_properties":{}, "seller":["Travelling Salesman", 4], "_created":[1501786401, 3], "_persistent":[true, 1], "icon":["res://icon.png", 4], "name":["Herb", 4]}
|
@ -1 +0,0 @@
|
||||
{"price":[100, 3], "_last_modified":[1501969193, 2], "description":["", 4], "_id":["potion", 4], "_display_name":["potion", 4], "_class_name":["Shop Item", 4], "_class":["shop_item", 4], "_custom_properties":{}, "seller":["Travelling Salesman", 4], "_created":[1501786809, 3], "_persistent":[true, 1], "icon":["res://icon.png", 4], "name":["Potion", 4]}
|
@ -1 +0,0 @@
|
||||
{"_last_modified":[1501969193, 2], "description":["Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus.", 4], "_id":["earth_tremor", 4], "effect":[null, 0], "_display_name":["Earth Tremor", 4], "_class_name":["Spell", 4], "_class":["spell", 4], "_custom_properties":{}, "target":["All Enemies", 4], "_created":[1501968711, 3], "_persistent":[true, 1], "sound":[null, 0], "base_damage":[43, 2], "icon":["res://graphics/icon_spell_earth_tremor.png", 4], "name":["Earth Tremor", 4], "element":["earth", 4]}
|
@ -1 +0,0 @@
|
||||
{"_last_modified":[1501969193, 2], "description":["Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. ", 4], "_id":["fireball", 4], "effect":[null, 0], "_display_name":["Fireball", 4], "_class_name":["Spell", 4], "_class":["spell", 4], "_custom_properties":{}, "target":["One Enemy", 4], "_created":[1501964007, 3], "_persistent":[true, 1], "sound":[null, 0], "base_damage":[10, 3], "icon":["res://graphics/icon_spell_fireball.png", 4], "name":["Fireball", 4], "element":["fire", 4]}
|
@ -1 +0,0 @@
|
||||
{"_last_modified":[1501969193, 2], "description":["Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim.", 4], "_id":["storm", 4], "effect":[null, 0], "_display_name":["Storm", 4], "_class_name":["Spell", 4], "_class":["spell", 4], "_custom_properties":{}, "target":["One Enemy", 4], "_created":[1501968365, 3], "_persistent":[true, 1], "sound":[null, 0], "base_damage":[15, 3], "icon":["res://graphics/icon_spell_storm.png", 4], "name":["Storm", 4], "element":["wind", 4]}
|
@ -1 +0,0 @@
|
||||
{"_last_modified":[1501969193, 2], "description":["Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. ", 4], "_id":["wall_of_fire", 4], "effect":[null, 0], "_display_name":["Wall of Fire", 4], "_class_name":["Spell", 4], "_class":["spell", 4], "_custom_properties":{}, "target":["All Enemies", 4], "_created":[1501964040, 3], "_persistent":[true, 1], "sound":[null, 0], "base_damage":[16, 3], "icon":["res://graphics/icon_spell_wall_of_fire.png", 4], "name":["Wall of Fire", 4], "element":["fire", 4]}
|
@ -1 +0,0 @@
|
||||
{"_last_modified":[1501969193, 2], "description":["Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet.", 4], "_id":["water_bolt", 4], "effect":[null, 0], "_display_name":["Water Bolt", 4], "_class_name":["Spell", 4], "_class":["spell", 4], "_custom_properties":{}, "target":["One Enemy", 4], "_created":[1501968528, 3], "_persistent":[true, 1], "sound":[null, 0], "base_damage":[30, 2], "icon":["res://graphics/icon_spell_waterbolt.png", 4], "name":["Water Bolt", 4], "element":["water", 4]}
|
@ -1 +0,0 @@
|
||||
{"_last_modified":[1501969193, 2], "description":["Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum.", 4], "_id":["water_splash", 4], "effect":[null, 0], "_display_name":["Water Splash", 4], "_class_name":["Spell", 4], "_class":["spell", 4], "_custom_properties":{}, "target":["One Enemy", 4], "_created":[1501968621, 3], "_persistent":[true, 1], "sound":[null, 0], "base_damage":[17, 3], "icon":["res://graphics/icon_spell_watersplash.png", 4], "name":["Water Splash", 4], "element":["water", 4]}
|
@ -1 +0,0 @@
|
||||
{"_last_modified":[1503426771, 2], "int_no_hints":[100000, 2], "_id":["test_instance", 4], "_display_name":["test_instance", 4], "_class_name":["Test", 4], "_class":["test", 4], "_custom_properties":{}, "_created":[1503426734, 2], "string_no_hints":["", 4], "_persistent":[true, 1], "your_color_property":["ffff00ff", 14]}
|
@ -1,17 +0,0 @@
|
||||
[application]
|
||||
|
||||
name="DataEditorDemo"
|
||||
main_scene="res://ShopDialog.tscn"
|
||||
icon="res://icon.png"
|
||||
|
||||
[autoload]
|
||||
|
||||
data="*res://addons/godot_data_editor/data.gd"
|
||||
|
||||
[editor_plugins]
|
||||
|
||||
enabled=["godot_data_editor"]
|
||||
|
||||
[input]
|
||||
|
||||
Test=[Vector2(0, 0), key(A), key(B)]
|
31
demo/graphics/icon_earth.png.import
Normal file
31
demo/graphics/icon_earth.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_earth.png-312861be5d56b1ba17f2ef1c43ed4a9a.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/icon_earth.png"
|
||||
dest_files=[ "res://.import/icon_earth.png-312861be5d56b1ba17f2ef1c43ed4a9a.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/graphics/icon_fire.png.import
Normal file
31
demo/graphics/icon_fire.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_fire.png-d72438136f651e83c4194a73fb0e0988.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/icon_fire.png"
|
||||
dest_files=[ "res://.import/icon_fire.png-d72438136f651e83c4194a73fb0e0988.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/graphics/icon_spell_earth_tremor.png.import
Normal file
31
demo/graphics/icon_spell_earth_tremor.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_spell_earth_tremor.png-85d5b70bea915945fe01610abc5ae9cc.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/icon_spell_earth_tremor.png"
|
||||
dest_files=[ "res://.import/icon_spell_earth_tremor.png-85d5b70bea915945fe01610abc5ae9cc.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/graphics/icon_spell_fireball.png.import
Normal file
31
demo/graphics/icon_spell_fireball.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_spell_fireball.png-0c3450ce2024ea0bfce6df37ce83e408.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/icon_spell_fireball.png"
|
||||
dest_files=[ "res://.import/icon_spell_fireball.png-0c3450ce2024ea0bfce6df37ce83e408.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/graphics/icon_spell_storm.png.import
Normal file
31
demo/graphics/icon_spell_storm.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_spell_storm.png-48c6944ca0eb4263eb283150d451365c.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/icon_spell_storm.png"
|
||||
dest_files=[ "res://.import/icon_spell_storm.png-48c6944ca0eb4263eb283150d451365c.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/graphics/icon_spell_unknown.png.import
Normal file
31
demo/graphics/icon_spell_unknown.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_spell_unknown.png-5f97a6da5ebdf1e9b750d1714d105330.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/icon_spell_unknown.png"
|
||||
dest_files=[ "res://.import/icon_spell_unknown.png-5f97a6da5ebdf1e9b750d1714d105330.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/graphics/icon_spell_wall_of_fire.png.import
Normal file
31
demo/graphics/icon_spell_wall_of_fire.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_spell_wall_of_fire.png-799aa61907abe55847a915ac8c058882.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/icon_spell_wall_of_fire.png"
|
||||
dest_files=[ "res://.import/icon_spell_wall_of_fire.png-799aa61907abe55847a915ac8c058882.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/graphics/icon_spell_waterbolt.png.import
Normal file
31
demo/graphics/icon_spell_waterbolt.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_spell_waterbolt.png-4bfa683fad0b477191930fa4333ba7c3.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/icon_spell_waterbolt.png"
|
||||
dest_files=[ "res://.import/icon_spell_waterbolt.png-4bfa683fad0b477191930fa4333ba7c3.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/graphics/icon_spell_watersplash.png.import
Normal file
31
demo/graphics/icon_spell_watersplash.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_spell_watersplash.png-232566be13fc7485582c61ffe6b62e26.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/icon_spell_watersplash.png"
|
||||
dest_files=[ "res://.import/icon_spell_watersplash.png-232566be13fc7485582c61ffe6b62e26.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/graphics/icon_water.png.import
Normal file
31
demo/graphics/icon_water.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_water.png-e57534a5d77b82307180a06d58dc3b65.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/icon_water.png"
|
||||
dest_files=[ "res://.import/icon_water.png-e57534a5d77b82307180a06d58dc3b65.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
31
demo/graphics/icon_wind.png.import
Normal file
31
demo/graphics/icon_wind.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_wind.png-36f244f2d1041fd21c26cb0b70a36cef.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/icon_wind.png"
|
||||
dest_files=[ "res://.import/icon_wind.png-36f244f2d1041fd21c26cb0b70a36cef.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -1 +0,0 @@
|
||||
gen_mipmaps=false
|
31
demo/icon.png.import
Normal file
31
demo/icon.png.import
Normal file
@ -0,0 +1,31 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
30
demo/project.godot
Normal file
30
demo/project.godot
Normal file
@ -0,0 +1,30 @@
|
||||
; Engine configuration file.
|
||||
; It's best edited using the editor UI and not directly,
|
||||
; since the parameters that go here are not all obvious.
|
||||
;
|
||||
; Format:
|
||||
; [section] ; section goes between []
|
||||
; param=value ; assign values to parameters
|
||||
|
||||
config_version=4
|
||||
|
||||
_global_script_classes=[ ]
|
||||
_global_script_class_icons={
|
||||
|
||||
}
|
||||
|
||||
[application]
|
||||
|
||||
config/name="demo"
|
||||
config/icon="res://icon.png"
|
||||
|
||||
[importer_defaults]
|
||||
|
||||
texture={
|
||||
"flags/filter": true,
|
||||
"flags/mipmaps": true
|
||||
}
|
||||
|
||||
[physics_2d]
|
||||
|
||||
motion_fix_enabled=true
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user