1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-12-15 19:54:43 -05:00

Removed shell

- Added more translations
- Framebuffer allocation set to 2D
- Use pixel snap
- Refined Zack base sprite and remove the static one
- Moved About, Credits, and Settings menu into a global menu
This commit is contained in:
Anthony Wilcox 2019-01-03 10:08:15 -05:00
parent eadebd4a91
commit 5fee8f788a
17 changed files with 123 additions and 222 deletions

View file

@ -3,7 +3,7 @@
[ext_resource path="res://src/Interface.gd" type="Script" id=1]
[ext_resource path="res://music/piano.ogg" type="AudioStream" id=2]
[node name="Interface" type="Control"]
[node name="Interface" type="Control" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@ -35,10 +35,23 @@ anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 16.0
margin_top = 16.0
margin_right = 179.0
margin_bottom = 95.0
margin_top = 7.0
margin_right = 800.0
margin_bottom = 31.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
_sections_unfolded = [ "Anchor", "Margin", "Rect" ]
[node name="GPanel" type="Panel" parent="RefRect" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
@ -46,16 +59,12 @@ mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
[node name="VertContainer" type="VBoxContainer" parent="RefRect" index="0"]
[node name="HBoxContainer" type="HBoxContainer" parent="RefRect/GPanel" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 3.0
margin_right = -3.0
margin_bottom = -85.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
@ -64,14 +73,14 @@ size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0
[node name="SettingsBtn" type="Button" parent="RefRect/VertContainer" index="0"]
[node name="SettingsBtn" type="Button" parent="RefRect/GPanel/HBoxContainer" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 156.0
margin_bottom = 20.0
margin_right = 41.0
margin_bottom = 24.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
@ -84,18 +93,18 @@ enabled_focus_mode = 2
shortcut = null
group = null
text = "KSET"
flat = false
flat = true
align = 1
[node name="CreditsBtn" type="Button" parent="RefRect/VertContainer" index="1"]
[node name="CreditsBtn" type="Button" parent="RefRect/GPanel/HBoxContainer" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 24.0
margin_right = 156.0
margin_bottom = 44.0
margin_left = 45.0
margin_right = 88.0
margin_bottom = 24.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
@ -108,18 +117,18 @@ enabled_focus_mode = 2
shortcut = null
group = null
text = "KCRE"
flat = false
flat = true
align = 1
[node name="AboutBtn" type="Button" parent="RefRect/VertContainer" index="2"]
[node name="AboutBtn" type="Button" parent="RefRect/GPanel/HBoxContainer" index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 48.0
margin_right = 156.0
margin_bottom = 68.0
margin_left = 92.0
margin_right = 141.0
margin_bottom = 24.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
@ -132,7 +141,7 @@ enabled_focus_mode = 2
shortcut = null
group = null
text = "KABO"
flat = false
flat = true
align = 1
_sections_unfolded = [ "Margin" ]
@ -318,6 +327,7 @@ columns = 2
[node name="Languages" type="MenuButton" parent="SettingsWin/Grid" index="0"]
pause_mode = 1
visible = false
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
@ -365,11 +375,11 @@ text = "KMUS"
flat = false
align = 1
[connection signal="pressed" from="RefRect/VertContainer/SettingsBtn" to="." method="_on_SettingsBtn_pressed"]
[connection signal="pressed" from="RefRect/GPanel/HBoxContainer/SettingsBtn" to="." method="_on_SettingsBtn_pressed"]
[connection signal="pressed" from="RefRect/VertContainer/CreditsBtn" to="." method="_on_CreditsBtn_pressed"]
[connection signal="pressed" from="RefRect/GPanel/HBoxContainer/CreditsBtn" to="." method="_on_CreditsBtn_pressed"]
[connection signal="pressed" from="RefRect/VertContainer/AboutBtn" to="." method="_on_AboutBtn_pressed"]
[connection signal="pressed" from="RefRect/GPanel/HBoxContainer/AboutBtn" to="." method="_on_AboutBtn_pressed"]
[connection signal="toggled" from="SettingsWin/Grid/MusicBtn" to="." method="_on_MusicBtn_toggled"]