1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-05-07 22:04:49 -04:00

Interface tweak

- Removed Splash.gd
This commit is contained in:
Anthony Wilcox 2018-12-31 04:17:50 -05:00
parent 284384e866
commit cbaddfbcdc
5 changed files with 60 additions and 64 deletions

View file

@ -17,7 +17,7 @@
[ext_resource path="res://assets/camera.png" type="Texture" id=15]
[ext_resource path="res://assets/owo censor.png" type="Texture" id=16]
[node name="Clothes" type="Node2D"]
[node name="Clothes" type="Node2D" index="0"]
[node name="Wordrobe" type="ReferenceRect" parent="." index="0"]
@ -25,9 +25,9 @@ anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 205.0
margin_top = 33.0
margin_right = 771.0
margin_left = 193.0
margin_top = 17.0
margin_right = 775.0
margin_bottom = 527.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
@ -274,10 +274,10 @@ anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 231.0
margin_top = 304.0
margin_right = 337.0
margin_bottom = 516.0
margin_left = 224.0
margin_top = 303.0
margin_right = 330.0
margin_bottom = 515.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
@ -299,10 +299,10 @@ anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 359.0
margin_top = 328.0
margin_right = 465.0
margin_bottom = 519.0
margin_left = 355.0
margin_top = 332.0
margin_right = 461.0
margin_bottom = 523.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
@ -324,9 +324,9 @@ anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 209.0
margin_left = 205.0
margin_top = 52.0
margin_right = 376.0
margin_right = 372.0
margin_bottom = 276.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
@ -376,10 +376,10 @@ anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 419.0
margin_top = 97.0
margin_right = 468.0
margin_bottom = 159.0
margin_left = 409.0
margin_top = 96.0
margin_right = 458.0
margin_bottom = 158.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2

View file

@ -25,9 +25,10 @@ anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 7.0
margin_right = 799.0
margin_bottom = 35.0
margin_left = 11.0
margin_top = 27.0
margin_right = 165.0
margin_bottom = 161.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
@ -35,7 +36,7 @@ mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
[node name="HozContainer" type="HBoxContainer" parent="ReferenceRect" index="0"]
[node name="VertContainer" type="VBoxContainer" parent="ReferenceRect" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@ -53,38 +54,14 @@ size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0
[node name="AboutBtn" type="Button" parent="ReferenceRect/HozContainer" index="0"]
[node name="ScreenshotBtn" type="Button" parent="ReferenceRect/VertContainer" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 50.0
margin_bottom = 22.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
text = "About"
flat = false
align = 1
[node name="ScreenshotBtn" type="Button" parent="ReferenceRect/HozContainer" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 54.0
margin_right = 137.0
margin_bottom = 22.0
margin_right = 147.0
margin_bottom = 20.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
@ -100,15 +77,39 @@ text = "Screenshot"
flat = false
align = 1
[node name="CreditsBtn" type="Button" parent="ReferenceRect/HozContainer" index="2"]
[node name="AboutBtn" type="Button" parent="ReferenceRect/VertContainer" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 141.0
margin_right = 198.0
margin_bottom = 22.0
margin_top = 24.0
margin_right = 147.0
margin_bottom = 44.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
text = "About"
flat = false
align = 1
[node name="CreditsBtn" type="Button" parent="ReferenceRect/VertContainer" index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 48.0
margin_right = 147.0
margin_bottom = 68.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
@ -124,10 +125,10 @@ text = "Credits"
flat = false
align = 1
[connection signal="pressed" from="ReferenceRect/HozContainer/AboutBtn" to="." method="_on_AboutBtn_pressed"]
[connection signal="pressed" from="ReferenceRect/VertContainer/ScreenshotBtn" to="." method="_on_ScreenshotBtn_pressed"]
[connection signal="pressed" from="ReferenceRect/HozContainer/ScreenshotBtn" to="." method="_on_ScreenshotBtn_pressed"]
[connection signal="pressed" from="ReferenceRect/VertContainer/AboutBtn" to="." method="_on_AboutBtn_pressed"]
[connection signal="pressed" from="ReferenceRect/HozContainer/CreditsBtn" to="." method="_on_CreditsBtn_pressed"]
[connection signal="pressed" from="ReferenceRect/VertContainer/CreditsBtn" to="." method="_on_CreditsBtn_pressed"]

View file

@ -1,6 +0,0 @@
# Anthony Wilcox licenses this file to you under the GPL license.
# See the LICENSE file in the project root for more information.
extends Node
func _on_Timer_timeout():
get_tree().change_scene("res://MainScreen.tscn")

View file

@ -1,5 +1,6 @@
# Anthony Wilcox licenses this file to you under the GPL license.
# See the LICENSE file in the project root for more information.
tool
extends Control
const DEFUALT_CONTENT_HEIGHT = 216
@ -21,7 +22,7 @@ func _ready():
$WindowFrame.rect_size = Vector2(351, 33 + content_height)
else:
$WindowFrame/ContentFrame/ContentPanel.rect_size = DEFUALT_PANEL_SIZE
update()

View file

@ -2,7 +2,7 @@
[ext_resource path="res://widgets/WindowControl.tscn" type="PackedScene" id=1]
[node name="Credits" type="Node" index="0"]
[node name="Credits" type="Node"]
[node name="WindowControl" parent="." index="0" instance=ExtResource( 1 )]