More menu prototyping

This commit is contained in:
Luke Hubmayer-Werner 2023-07-31 23:32:46 +09:30
parent 2758e50759
commit 4a1e2c2171
5 changed files with 171 additions and 13 deletions

View File

@ -19,7 +19,7 @@ Following systems are ordered by vague overarching priority:
I know I called this an "Interactive Save Editor" but I haven't started that yet.
- [x] SNES loading
- [ ] SNES saving (should be easy enough, soon™)
- [ ] PSX Support (should be identical to SNES with different offset)
- [ ] PSX Support (wasn't identical to SNES with different offset ;_; )
- [ ] GBA Support (note, does not imply full asset ripping)
- [ ] Steam Pixel Remaster Support (I haven't bought this yet so low prio) (note, does not imply full asset ripping)

View File

@ -1,16 +1,29 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://box.tscn" type="PackedScene" id=1]
[ext_resource path="res://theme/menu_theme.tres" type="Theme" id=2]
[ext_resource path="res://widgets/ColorMenu.tscn" type="PackedScene" id=3]
[ext_resource path="res://theme/border_imagetexture.tres" type="Texture" id=4]
[ext_resource path="res://party_menu.tscn" type="PackedScene" id=5]
[node name="main_menu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
rect_scale = Vector2( 2, 2 )
margin_right = -854.0
margin_bottom = -480.0
rect_scale = Vector2( 3, 3 )
theme = ExtResource( 2 )
[node name="party_menu" parent="." instance=ExtResource( 5 )]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -360.0
margin_top = -240.0
margin_right = 0.0
margin_bottom = 0.0
[node name="MarginContainer" type="MarginContainer" parent="."]
margin_right = 70.0
margin_bottom = 32.0
@ -41,13 +54,6 @@ margin_bottom = 33.0
text = "Load Save File
From here"
[node name="Button" type="Button" parent="."]
margin_left = 40.0
margin_top = 40.0
margin_right = 124.0
margin_bottom = 61.0
text = "Test Button"
[node name="ColorMenu" parent="." instance=ExtResource( 3 )]
margin_left = 44.0
margin_top = 64.0

149
party_menu.tscn Normal file
View File

@ -0,0 +1,149 @@
[gd_scene format=2]
[node name="PanelContainer" type="Panel"]
margin_right = 360.0
margin_bottom = 240.0
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -72.0
size_flags_horizontal = 8
size_flags_vertical = 8
custom_constants/separation = 0
alignment = 2
[node name="panel_menu" type="PanelContainer" parent="VBoxContainer2"]
margin_left = 16.0
margin_right = 72.0
margin_bottom = 36.0
rect_min_size = Vector2( 56, 0 )
size_flags_horizontal = 8
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer2/panel_menu"]
margin_left = 4.0
margin_top = 4.0
margin_right = 52.0
margin_bottom = 32.0
custom_constants/separation = 0
[node name="lbl_job" type="Label" parent="VBoxContainer2/panel_menu/VBoxContainer"]
margin_right = 48.0
margin_bottom = 14.0
text = "Job"
[node name="lbl_ability" type="Label" parent="VBoxContainer2/panel_menu/VBoxContainer"]
margin_top = 14.0
margin_right = 48.0
margin_bottom = 28.0
text = "Ability"
[node name="panel_menu2" type="PanelContainer" parent="VBoxContainer2"]
margin_left = 16.0
margin_top = 36.0
margin_right = 72.0
margin_bottom = 128.0
rect_min_size = Vector2( 56, 0 )
size_flags_horizontal = 8
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer2/panel_menu2"]
margin_left = 4.0
margin_top = 4.0
margin_right = 52.0
margin_bottom = 88.0
custom_constants/separation = 0
[node name="lbl_items" type="Label" parent="VBoxContainer2/panel_menu2/VBoxContainer"]
margin_right = 48.0
margin_bottom = 14.0
text = "Items"
[node name="lbl_magic" type="Label" parent="VBoxContainer2/panel_menu2/VBoxContainer"]
margin_top = 14.0
margin_right = 48.0
margin_bottom = 28.0
text = "Magic"
[node name="lbl_equip" type="Label" parent="VBoxContainer2/panel_menu2/VBoxContainer"]
margin_top = 28.0
margin_right = 48.0
margin_bottom = 42.0
text = "Equip"
[node name="lbl_status" type="Label" parent="VBoxContainer2/panel_menu2/VBoxContainer"]
margin_top = 42.0
margin_right = 48.0
margin_bottom = 56.0
text = "Status"
[node name="lbl_config" type="Label" parent="VBoxContainer2/panel_menu2/VBoxContainer"]
margin_top = 56.0
margin_right = 48.0
margin_bottom = 70.0
text = "Config"
[node name="lbl_save" type="Label" parent="VBoxContainer2/panel_menu2/VBoxContainer"]
margin_top = 70.0
margin_right = 48.0
margin_bottom = 84.0
text = "Save"
[node name="spacer" type="Control" parent="VBoxContainer2"]
margin_top = 128.0
margin_right = 72.0
margin_bottom = 168.0
size_flags_vertical = 3
[node name="panel_time" type="PanelContainer" parent="VBoxContainer2"]
margin_left = 8.0
margin_top = 168.0
margin_right = 72.0
margin_bottom = 204.0
rect_min_size = Vector2( 64, 0 )
size_flags_horizontal = 8
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer2/panel_time"]
margin_left = 4.0
margin_top = 4.0
margin_right = 60.0
margin_bottom = 32.0
custom_constants/separation = 0
[node name="lbl_time" type="Label" parent="VBoxContainer2/panel_time/VBoxContainer"]
margin_right = 56.0
margin_bottom = 14.0
text = "Time"
[node name="lbl_ability" type="Label" parent="VBoxContainer2/panel_time/VBoxContainer"]
margin_top = 14.0
margin_right = 56.0
margin_bottom = 28.0
text = "9:42"
align = 2
[node name="panel_gil" type="PanelContainer" parent="VBoxContainer2"]
margin_top = 204.0
margin_right = 72.0
margin_bottom = 240.0
rect_min_size = Vector2( 72, 0 )
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer2/panel_gil"]
margin_left = 4.0
margin_top = 4.0
margin_right = 68.0
margin_bottom = 32.0
custom_constants/separation = 0
[node name="lbl_gilcount" type="Label" parent="VBoxContainer2/panel_gil/VBoxContainer"]
margin_right = 64.0
margin_bottom = 14.0
text = "36988"
align = 2
[node name="lbl_gil" type="Label" parent="VBoxContainer2/panel_gil/VBoxContainer"]
margin_top = 14.0
margin_right = 64.0
margin_bottom = 28.0
text = "Gil"
align = 2

View File

@ -15,7 +15,7 @@ _global_script_class_icons={
[application]
config/name="FF"
run/main_scene="res://test_scene.tscn"
run/main_scene="res://main_menu.tscn"
config/icon="res://icon.png"
[autoload]
@ -34,9 +34,11 @@ SaveLoader="*res://scripts/loaders/save_loader.gd"
gdscript/warnings/unused_variable=false
gdscript/warnings/integer_division=false
[global]
[display]
color=false
window/size/width=1280
window/size/height=720
window/dpi/allow_hidpi=true
[gui]

View File

@ -28,6 +28,7 @@ Label/constants/shadow_as_outline = 0
Label/constants/shadow_offset_x = 1
Label/constants/shadow_offset_y = 1
Panel/styles/panel = ExtResource( 2 )
PanelContainer/styles/panel = ExtResource( 2 )
TabContainer/colors/font_color_bg = Color( 0.501961, 0.501961, 0.501961, 1 )
TabContainer/colors/font_color_fg = Color( 1, 1, 1, 1 )
TabContainer/styles/panel = ExtResource( 2 )