Started to rough out the toolset bar at the top of the toolset

This commit is contained in:
PersonGuyGit 2023-06-18 12:57:06 -06:00
parent 02de777c4a
commit 0f66d2907e
9 changed files with 258 additions and 11 deletions

View File

@ -0,0 +1,170 @@
[editor_states]
Anim={
"visible": false
}
2D={
"grid_offset": Vector2(0, 0),
"grid_snap_active": false,
"grid_step": Vector2(8, 8),
"grid_visibility": 1,
"ofs": Vector2(-114.248, -94.2102),
"primary_grid_steps": 8,
"show_edit_locks": true,
"show_guides": true,
"show_helpers": false,
"show_origin": true,
"show_rulers": true,
"show_transformation_gizmos": true,
"show_viewport": true,
"show_zoom_control": true,
"smart_snap_active": false,
"snap_guides": true,
"snap_node_anchors": true,
"snap_node_center": true,
"snap_node_parent": true,
"snap_node_sides": true,
"snap_other_nodes": true,
"snap_pixel": true,
"snap_relative": false,
"snap_rotation": false,
"snap_rotation_offset": 0.0,
"snap_rotation_step": 0.261799,
"snap_scale": false,
"snap_scale_step": 0.1,
"zoom": 1.33484
}
3D={
"fov": 70.01,
"gizmos_status": {
"AudioListener3D": 0,
"AudioStreamPlayer3D": 0,
"CPUParticles3D": 0,
"CSGShape3D": 0,
"Camera3D": 0,
"CollisionObject3D": 0,
"CollisionPolygon3D": 0,
"CollisionShape3D": 0,
"Decal": 0,
"FogVolume": 0,
"GPUParticles3D": 0,
"GPUParticlesCollision3D": 0,
"Joint3D": 0,
"Light3D": 0,
"LightmapGI": 0,
"LightmapProbe": 0,
"Marker3D": 0,
"NavigationLink3D": 0,
"NavigationRegion3D": 0,
"OccluderInstance3D": 0,
"Path3D": 0,
"PhysicalBone3D": 0,
"RayCast3D": 0,
"ReflectionProbe": 0,
"ShapeCast3D": 0,
"Skeleton3D": 0,
"SoftBody3D": 0,
"SpringArm3D": 0,
"VehicleWheel3D": 0,
"VisibleOnScreenNotifier3D": 0,
"VoxelGI": 0
},
"local_coords": false,
"preview_sun_env": {
"environ_ao_enabled": false,
"environ_enabled": true,
"environ_energy": 1.0,
"environ_gi_enabled": false,
"environ_glow_enabled": true,
"environ_ground_color": Color(0.2, 0.169, 0.133, 1),
"environ_sky_color": Color(0.385, 0.454, 0.55, 1),
"environ_tonemap_enabled": true,
"sun_color": Color(1, 1, 1, 1),
"sun_enabled": true,
"sun_energy": 1.0,
"sun_max_distance": 100.0,
"sun_rotation": Vector2(-1.0472, 2.61799)
},
"rotate_snap": 15.0,
"scale_snap": 10.0,
"show_grid": true,
"show_origin": true,
"snap_enabled": false,
"translate_snap": 1.0,
"viewport_mode": 1,
"viewports": [{
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": true,
"position": Vector3(0, 0, 0),
"use_environment": false,
"use_orthogonal": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}, {
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": false,
"position": Vector3(0, 0, 0),
"use_environment": false,
"use_orthogonal": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}, {
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": false,
"position": Vector3(0, 0, 0),
"use_environment": false,
"use_orthogonal": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}, {
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": false,
"position": Vector3(0, 0, 0),
"use_environment": false,
"use_orthogonal": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}],
"zfar": 4000.01,
"znear": 0.05
}

View File

@ -0,0 +1,5 @@
[folding]
node_unfolds=[NodePath("HBoxContainer"), PackedStringArray("Material", "Layout/Transform", "Layout", "Theme Overrides", "Theme Overrides/constants"), NodePath("HBoxContainer/VBoxContainer/OptionButton_ModuleSettings"), PackedStringArray("item_count_array", "BiDi", "popup", "Input", "Tooltip"), NodePath("HBoxContainer/VBoxContainer2/OptionButton_Wizards"), PackedStringArray("Text Behavior", "Icon Behavior", "BiDi", "item_count_array")]
resource_unfolds=[]
nodes_folded=[]

View File

@ -1,7 +1,9 @@
Button
Label Label
VBoxContainer VBoxContainer
ItemList OptionButton
Button
CheckButton
HBoxContainer HBoxContainer
Panel Panel
ItemList
Control Control

View File

@ -16,7 +16,7 @@ dock_5="Inspector,Node,History"
[EditorNode] [EditorNode]
open_scenes=["res://toolset_test/drag_and_drop_demo_final.tscn", "res://toolset_test_tabbed_merged/draggable_assets.tscn", "res://toolset_test_tabbed_merged/tabbed_merged_test_interface.tscn", "res://index_screen/index.tscn", "res://index_screen/index.tscn"] open_scenes=["res://toolset_test/drag_and_drop_demo_final.tscn", "res://toolset_test_tabbed_merged/draggable_assets.tscn", "res://toolset_test_tabbed_merged/tabbed_merged_test_interface.tscn", "res://index_screen/index.tscn", "res://top_toolbar/TopToolbar.tscn"]
[ScriptEditor] [ScriptEditor]

View File

@ -1,14 +1,16 @@
2a60927148abd1d33b818b535e306557 2a60927148abd1d33b818b535e306557
::res://::1686505462 ::res://::1687113905
Cabin-VariableFont_wdth,wght.ttf::FontFile::6071708341937432371::1685898239::1686505462::1::::<><>:: Cabin-VariableFont_wdth,wght.ttf::FontFile::6071708341937432371::1685898239::1686505462::1::::<><>::
default_env.tres::Environment::-1::1685898239::0::1::::<><>:: default_env.tres::Environment::-1::1685898239::0::1::::<><>::
icon.png::CompressedTexture2D::6683631437730026850::1685898239::1686505462::1::::<><>:: icon.png::CompressedTexture2D::6683631437730026850::1685898239::1686505462::1::::<><>::
README.md::TextFile::-1::1685898239::0::1::::<><>:: README.md::TextFile::-1::1685898239::0::1::::<><>::
::res://toolset_test/::1685898239 ::res://index_screen/::1687112687
index.tscn::PackedScene::1801527253264693182::1687112687::0::1::::<><>::
::res://toolset_test/::1687112687
draggable.tscn::PackedScene::-1::1685898239::0::1::::<><>::res://Cabin-VariableFont_wdth,wght.ttf<>res://toolset_test/draggable_final.gd draggable.tscn::PackedScene::-1::1685898239::0::1::::<><>::res://Cabin-VariableFont_wdth,wght.ttf<>res://toolset_test/draggable_final.gd
draggable_final.gd::GDScript::-1::1685898239::0::1::::Draggable<>ColorRect<>:: draggable_final.gd::GDScript::-1::1685898239::0::1::::Draggable<>ColorRect<>::
drag_and_drop_demo_final.gd::GDScript::-1::1685898239::0::1::::<>PanelContainer<>:: drag_and_drop_demo_final.gd::GDScript::-1::1685898239::0::1::::<>PanelContainer<>::
drag_and_drop_demo_final.tscn::PackedScene::-1::1685898239::0::1::::<><>::res://Cabin-VariableFont_wdth,wght.ttf<>res://toolset_test/source_container.gd<>res://toolset_test/target_container_final.gd<>res://toolset_test/drag_and_drop_demo_final.gd drag_and_drop_demo_final.tscn::PackedScene::5450542302151337224::1687112687::0::1::::<><>::res://toolset_test/source_container.gd<>res://toolset_test/target_container_final.gd<>res://toolset_test/drag_and_drop_demo_final.gd
source_container.gd::GDScript::-1::1685898239::0::1::::<>Panel<>:: source_container.gd::GDScript::-1::1685898239::0::1::::<>Panel<>::
target_container_final.gd::GDScript::-1::1685898239::0::1::::<>Panel<>:: target_container_final.gd::GDScript::-1::1685898239::0::1::::<>Panel<>::
::res://toolset_test_manual/::1685898239 ::res://toolset_test_manual/::1685898239
@ -21,12 +23,14 @@ Control_Manual_MasterScript.gd::GDScript::-1::1685898239::0::1::::<>PanelContain
source_container.gd::GDScript::-1::1685898239::0::1::::<>Panel<>:: source_container.gd::GDScript::-1::1685898239::0::1::::<>Panel<>::
tabbed_layout_test_2023_0514A.tscn::PackedScene::-1::1685898239::0::1::::<><>:: tabbed_layout_test_2023_0514A.tscn::PackedScene::-1::1685898239::0::1::::<><>::
target_container_final.gd::GDScript::-1::1685898239::0::1::::<>Panel<>:: target_container_final.gd::GDScript::-1::1685898239::0::1::::<>Panel<>::
::res://toolset_test_tabbed_merged/::1685898239 ::res://toolset_test_tabbed_merged/::1687112687
AssetsContainer.gd::GDScript::-1::1685898239::0::1::::<>Panel<>:: AssetsContainer.gd::GDScript::-1::1685898239::0::1::::<>Panel<>::
draggable_assets.tscn::PackedScene::-1::1685898239::0::1::::<><>::res://Cabin-VariableFont_wdth,wght.ttf<>res://toolset_test/draggable_final.gd draggable_assets.tscn::PackedScene::7601867094005848387::1687112687::0::1::::<><>::res://toolset_test/draggable_final.gd
draggable_assets_final.gd::GDScript::-1::1685898239::0::1::::Draggable_Assets<>ColorRect<>:: draggable_assets_final.gd::GDScript::-1::1685898239::0::1::::Draggable_Assets<>ColorRect<>::
PanelCanvas_Temp.gd::GDScript::-1::1685898239::0::1::::<>Panel<>:: PanelCanvas_Temp.gd::GDScript::-1::1685898239::0::1::::<>Panel<>::
source_container.gd::GDScript::-1::1685898239::0::1::::<>Panel<>:: source_container.gd::GDScript::-1::1685898239::0::1::::<>Panel<>::
tabbed_merged_test_interface.tscn::PackedScene::-1::1685898239::0::1::::<><>::res://Cabin-VariableFont_wdth,wght.ttf<>res://toolset_test_tabbed_merged/toolset_test_tabbed_merged.gd<>res://toolset_test_tabbed_merged/AssetsContainer.gd<>res://toolset_test_tabbed_merged/PanelCanvas_Temp.gd tabbed_merged_test_interface.tscn::PackedScene::6222854153641568888::1687112687::0::1::::<><>::res://toolset_test_tabbed_merged/toolset_test_tabbed_merged.gd<>res://toolset_test_tabbed_merged/AssetsContainer.gd<>res://toolset_test_tabbed_merged/PanelCanvas_Temp.gd
target_container_final.gd::GDScript::-1::1685898239::0::1::::<>Panel<>:: target_container_final.gd::GDScript::-1::1685898239::0::1::::<>Panel<>::
toolset_test_tabbed_merged.gd::GDScript::-1::1685898239::0::1::::<>PanelContainer<>:: toolset_test_tabbed_merged.gd::GDScript::-1::1685898239::0::1::::<>PanelContainer<>::
::res://top_toolbar/::1687112687
TopToolbar.tscn::PackedScene::5079673781919012116::1687112687::0::1::::<><>::

View File

@ -1,4 +1,5 @@
res://index_screen/index.tscn res://top_toolbar/TopToolbar.tscn
res://toolset_test/drag_and_drop_demo_final.tscn res://toolset_test/drag_and_drop_demo_final.tscn
res://toolset_test_tabbed_merged/draggable_assets.tscn res://toolset_test_tabbed_merged/draggable_assets.tscn
res://toolset_test_tabbed_merged/tabbed_merged_test_interface.tscn res://toolset_test_tabbed_merged/tabbed_merged_test_interface.tscn
res://index_screen/index.tscn

View File

@ -9,5 +9,5 @@ run_reload_scripts=true
[recent_files] [recent_files]
scenes=["res://toolset_test_tabbed_merged/tabbed_merged_test_interface.tscn", "res://toolset_test_tabbed_merged/draggable_assets.tscn", "res://toolset_test/drag_and_drop_demo_final.tscn"] scenes=["res://top_toolbar/TopToolbar.tscn", "res://index_screen/index.tscn", "res://toolset_test_tabbed_merged/tabbed_merged_test_interface.tscn", "res://toolset_test_tabbed_merged/draggable_assets.tscn", "res://toolset_test/drag_and_drop_demo_final.tscn"]
scripts=["res://toolset_test_tabbed_merged/target_container_final.gd", "res://toolset_test_tabbed_merged/toolset_test_tabbed_merged.gd", "res://toolset_test/draggable_final.gd", "res://toolset_test_tabbed_merged/PanelCanvas_Temp.gd", "res://toolset_test_tabbed_merged/source_container.gd", "res://toolset_test/drag_and_drop_demo_final.gd"] scripts=["res://toolset_test_tabbed_merged/target_container_final.gd", "res://toolset_test_tabbed_merged/toolset_test_tabbed_merged.gd", "res://toolset_test/draggable_final.gd", "res://toolset_test_tabbed_merged/PanelCanvas_Temp.gd", "res://toolset_test_tabbed_merged/source_container.gd", "res://toolset_test/drag_and_drop_demo_final.gd"]

View File

@ -0,0 +1,65 @@
[gd_scene format=3 uid="uid://cemvqqx7rqem3"]
[node name="TopToolbar" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_vertical_guides_ = [-96.0]
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 31.0
grow_horizontal = 2
theme_override_constants/separation = 20
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"]
layout_mode = 2
text = "Module Options"
horizontal_alignment = 1
[node name="OptionButton_ModuleSettings" type="OptionButton" parent="HBoxContainer/VBoxContainer"]
layout_mode = 2
item_count = 4
popup/item_0/text = "Load Module"
popup/item_0/id = 0
popup/item_1/text = "Save Module"
popup/item_1/id = 1
popup/item_2/text = "Run Module"
popup/item_2/id = 2
popup/item_3/text = "Rename Module"
popup/item_3/id = 3
[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer2"]
layout_mode = 2
text = "Wizards
"
horizontal_alignment = 1
[node name="OptionButton_Wizards" type="OptionButton" parent="HBoxContainer/VBoxContainer2"]
layout_mode = 2
item_count = 3
popup/item_0/text = "Genre Settings"
popup/item_0/id = 0
popup/item_1/text = "Dialog Editor"
popup/item_1/id = 1
popup/item_2/text = "Character Session"
popup/item_2/id = 2