mirror of
https://github.com/tonytins/dressupzack
synced 2025-06-26 08:34:43 -04:00
Huge overhual
- We'll now using Godot's native UI elements along with a custom theme and fonts. - Changing to the character's clothes is now done by referencing the instanced node instead of the game screen. You no longer have to blindly guess where to put the placeholders from in clothes scene because the placeholders are already there for changing. - Classic mode now has it's own copy of the character node. This was the reason for the original setup. - Disabled some debug warnings - Window is now resizable and will respect aspect ratio - Credits screen - Global menu, WIP
This commit is contained in:
parent
023f6ec90e
commit
2b0755bf34
33 changed files with 1175 additions and 667 deletions
|
@ -1,21 +1,27 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://src/TitleScn.gd" type="Script" id=1]
|
||||
[ext_resource path="res://sprites/title.svg" type="Texture" id=2]
|
||||
[ext_resource path="res://scn/WinDialogs.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://styles/DressUpTheme.res" type="Theme" id=2]
|
||||
[ext_resource path="res://sprites/title.svg" type="Texture" id=3]
|
||||
[ext_resource path="res://scn/WinDialogs.tscn" type="PackedScene" id=4]
|
||||
|
||||
[node name="Start" type="Node"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Title" type="Sprite" parent="."]
|
||||
position = Vector2( 522.047, 150.148 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="MenuRf" type="ReferenceRect" parent="."]
|
||||
margin_left = 311.292
|
||||
margin_top = 72.2924
|
||||
margin_right = 730.292
|
||||
margin_bottom = 523.292
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -209.5
|
||||
margin_top = -225.5
|
||||
margin_right = 209.5
|
||||
margin_bottom = 225.5
|
||||
theme = ExtResource( 2 )
|
||||
|
||||
[node name="Title" type="Sprite" parent="MenuRf"]
|
||||
position = Vector2( 210.755, 77.8556 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="StartVbox" type="VBoxContainer" parent="MenuRf"]
|
||||
anchor_left = 0.5
|
||||
|
@ -29,20 +35,20 @@ margin_bottom = 42.5
|
|||
|
||||
[node name="PlayBtn" type="Button" parent="MenuRf/StartVbox"]
|
||||
margin_right = 136.0
|
||||
margin_bottom = 20.0
|
||||
margin_bottom = 25.0
|
||||
toggle_mode = true
|
||||
text = "KPLY"
|
||||
|
||||
[node name="CreditsBtn" type="Button" parent="MenuRf/StartVbox"]
|
||||
margin_top = 24.0
|
||||
margin_top = 29.0
|
||||
margin_right = 136.0
|
||||
margin_bottom = 44.0
|
||||
margin_bottom = 54.0
|
||||
text = "KCRE"
|
||||
|
||||
[node name="LicenseBtn" type="Button" parent="MenuRf/StartVbox"]
|
||||
margin_top = 48.0
|
||||
margin_top = 58.0
|
||||
margin_right = 136.0
|
||||
margin_bottom = 68.0
|
||||
margin_bottom = 83.0
|
||||
text = "KLIC"
|
||||
|
||||
[node name="ModePanel" type="WindowDialog" parent="MenuRf"]
|
||||
|
@ -81,7 +87,7 @@ margin_right = 136.0
|
|||
margin_bottom = 62.0
|
||||
text = "KCLS"
|
||||
|
||||
[node name="WinDialogs" parent="." instance=ExtResource( 3 )]
|
||||
[node name="WinDialogs" parent="." instance=ExtResource( 4 )]
|
||||
margin_left = 97.0
|
||||
margin_top = 37.0
|
||||
margin_right = 97.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue