mirror of
https://github.com/tonytins/dressupzack
synced 2025-06-25 16:14:43 -04:00
Save game option
- New button themes - Redid retro and "full snack" shirts
This commit is contained in:
parent
71dfa4d52f
commit
39bcdcb78c
12 changed files with 613 additions and 534 deletions
|
@ -123,7 +123,7 @@ script = ExtResource("1_k1mtq")
|
|||
position = Vector2(-33.7592, 99.4079)
|
||||
scale = Vector2(0.927713, 1)
|
||||
sprite_frames = SubResource("1")
|
||||
frame_progress = 0.185576
|
||||
frame_progress = 0.472335
|
||||
|
||||
[node name="Body" type="Sprite2D" parent="."]
|
||||
position = Vector2(12, 81)
|
||||
|
@ -132,9 +132,9 @@ texture = ExtResource("5_i8wm6")
|
|||
[node name="Eyes" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(28.6857, -15.7785)
|
||||
sprite_frames = SubResource("2")
|
||||
frame_progress = 0.102847
|
||||
frame_progress = 0.389606
|
||||
|
||||
[node name="Mouth" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(49.1195, -14.3155)
|
||||
sprite_frames = SubResource("3")
|
||||
frame_progress = 0.222902
|
||||
frame_progress = 0.509661
|
||||
|
|
206
scenes/game.tscn
206
scenes/game.tscn
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=13 format=3 uid="uid://cvr2aries2lhr"]
|
||||
[gd_scene load_steps=15 format=3 uid="uid://cvr2aries2lhr"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/game.gd" id="1_qt3fe"]
|
||||
[ext_resource type="Texture2D" uid="uid://33g80p0qnfw4" path="res://sprites/world/background.svg" id="1_uee2i"]
|
||||
|
@ -7,10 +7,12 @@
|
|||
[ext_resource type="Texture2D" uid="uid://d1u3w61r0uv7p" path="res://sprites/world/boxersOfAmericaFrame.png" id="4_327cy"]
|
||||
[ext_resource type="PackedScene" uid="uid://detf8uwimqp3v" path="res://scenes/character.tscn" id="6_tdil0"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhyon1s1op8ly" path="res://scenes/items.tres" id="7_3ykci"]
|
||||
[ext_resource type="StyleBox" uid="uid://by6foat5q5d8b" path="res://sprites/ui/button_style.tres" id="11_a038t"]
|
||||
[ext_resource type="FontFile" uid="uid://cnddkn05b5fj" path="res://addons/fontawesome/fonts/fa-solid-900.woff2" id="11_e3r4r"]
|
||||
[ext_resource type="SystemFont" uid="uid://dfre5a3mywuhy" path="res://sprites/ui/comic_sans.tres" id="12_0f8fj"]
|
||||
[ext_resource type="Script" path="res://addons/fontawesome/FontAwesome.gd" id="12_o3hu5"]
|
||||
[ext_resource type="Texture2D" uid="uid://clakkue2mohs4" path="res://sprites/ui/greenBtn.png" id="14_yk2bu"]
|
||||
[ext_resource type="Texture2D" uid="uid://cd8mirubbhn10" path="res://sprites/ui/redBtn.png" id="15_g5gd1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cl0wwlm6yw0ug" path="res://sprites/ui/fullbodyBtn.png" id="15_rfctk"]
|
||||
[ext_resource type="Texture2D" uid="uid://nc0wkek55yhu" path="res://sprites/ui/seperateBtn.png" id="16_px53c"]
|
||||
[ext_resource type="Texture2D" uid="uid://wr3ns0ywb75q" path="res://sprites/logo.png" id="16_y58oj"]
|
||||
|
||||
[node name="Game" type="Node"]
|
||||
|
@ -22,13 +24,14 @@ script = ExtResource("1_qt3fe")
|
|||
position = Vector2(306.682, 204.039)
|
||||
scale = Vector2(0.618038, 0.725217)
|
||||
texture = ExtResource("1_uee2i")
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="Stand" type="Sprite2D" parent="World"]
|
||||
position = Vector2(321.326, 368.764)
|
||||
position = Vector2(307.326, 368.764)
|
||||
texture = ExtResource("2_q0w7j")
|
||||
|
||||
[node name="BoxersOfAmericaFrame" type="Sprite2D" parent="World"]
|
||||
position = Vector2(77.9707, 272.449)
|
||||
position = Vector2(527.778, 119.515)
|
||||
texture = ExtResource("4_327cy")
|
||||
|
||||
[node name="iCrazyFrame" type="Sprite2D" parent="World"]
|
||||
|
@ -37,21 +40,23 @@ scale = Vector2(0.700948, 0.7129)
|
|||
texture = ExtResource("2_n1kmf")
|
||||
|
||||
[node name="Character" parent="." instance=ExtResource("6_tdil0")]
|
||||
position = Vector2(313.61, 133.222)
|
||||
position = Vector2(299.61, 133.222)
|
||||
|
||||
[node name="Bottoms" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(316.681, 303.715)
|
||||
[node name="Seperate" type="Node2D" parent="."]
|
||||
|
||||
[node name="Bottoms" type="AnimatedSprite2D" parent="Seperate"]
|
||||
position = Vector2(305.681, 303.715)
|
||||
sprite_frames = ExtResource("7_3ykci")
|
||||
animation = &"bottoms"
|
||||
|
||||
[node name="Tops" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(325.091, 213.195)
|
||||
[node name="Tops" type="AnimatedSprite2D" parent="Seperate"]
|
||||
position = Vector2(310.934, 206.309)
|
||||
sprite_frames = ExtResource("7_3ykci")
|
||||
animation = &"tops"
|
||||
|
||||
[node name="Fullbody" type="AnimatedSprite2D" parent="."]
|
||||
[node name="FullBody" type="AnimatedSprite2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(558.266, 434.335)
|
||||
position = Vector2(314.225, 262.214)
|
||||
sprite_frames = ExtResource("7_3ykci")
|
||||
animation = &"fullbody"
|
||||
|
||||
|
@ -60,9 +65,9 @@ position = Vector2(546.704, 311.642)
|
|||
scale = Vector2(0.172412, 0.162644)
|
||||
texture = ExtResource("16_y58oj")
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
[node name="Canvas" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="UI" type="Control" parent="CanvasLayer"]
|
||||
[node name="UI" type="Control" parent="Canvas"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
|
@ -70,79 +75,146 @@ anchor_bottom = 1.0
|
|||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
metadata/_edit_use_anchors_ = true
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="TopsFwdBtn" type="TextureButton" parent="CanvasLayer/UI"]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.735474
|
||||
anchor_top = 0.406494
|
||||
anchor_right = 0.807141
|
||||
anchor_bottom = 0.563994
|
||||
[node name="DressUpCtrls" type="Control" parent="Canvas/UI"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
metadata/_edit_use_anchors_ = true
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="TopsFwdBtn" type="TextureButton" parent="Canvas/UI/DressUpCtrls"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.655
|
||||
anchor_top = 0.3775
|
||||
anchor_right = 0.726667
|
||||
anchor_bottom = 0.535
|
||||
offset_bottom = -1.04904e-05
|
||||
texture_normal = ExtResource("14_yk2bu")
|
||||
stretch_mode = 4
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="TopsBckBtn" type="TextureButton" parent="CanvasLayer/UI"]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.236586
|
||||
anchor_top = 0.399881
|
||||
anchor_right = 0.308252
|
||||
anchor_bottom = 0.55738
|
||||
offset_bottom = 1.04904e-05
|
||||
[node name="TopsBckBtn" type="TextureButton" parent="Canvas/UI/DressUpCtrls"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.256667
|
||||
anchor_top = 0.345
|
||||
anchor_right = 0.328334
|
||||
anchor_bottom = 0.5025
|
||||
texture_normal = ExtResource("15_g5gd1")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="BottomsBckBtn" type="TextureButton" parent="CanvasLayer/UI"]
|
||||
[node name="BottomsBckBtn" type="TextureButton" parent="Canvas/UI/DressUpCtrls"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.230677
|
||||
anchor_top = 0.61427
|
||||
anchor_right = 0.302344
|
||||
anchor_bottom = 0.77177
|
||||
offset_bottom = -2.28882e-05
|
||||
anchor_left = 0.245
|
||||
anchor_top = 0.535
|
||||
anchor_right = 0.316667
|
||||
anchor_bottom = 0.6925
|
||||
offset_top = -1.04904e-05
|
||||
texture_normal = ExtResource("15_g5gd1")
|
||||
stretch_mode = 4
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="BottomsFwdBtn" type="TextureButton" parent="CanvasLayer/UI"]
|
||||
[node name="BottomsFwdBtn" type="TextureButton" parent="Canvas/UI/DressUpCtrls"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.736785
|
||||
anchor_top = 0.613892
|
||||
anchor_right = 0.808452
|
||||
anchor_bottom = 0.771392
|
||||
offset_left = -1.4782e-05
|
||||
anchor_left = 0.658334
|
||||
anchor_top = 0.5725
|
||||
anchor_right = 0.73
|
||||
anchor_bottom = 0.73
|
||||
texture_normal = ExtResource("14_yk2bu")
|
||||
stretch_mode = 4
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="FullbodyBtn" type="TextureButton" parent="CanvasLayer/UI"]
|
||||
[node name="SettingsCtrls" type="HBoxContainer" parent="Canvas/UI"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.265919
|
||||
anchor_top = 0.0531643
|
||||
anchor_right = 0.417585
|
||||
anchor_bottom = 0.115664
|
||||
offset_left = 1.14441e-05
|
||||
offset_right = 1.52588e-05
|
||||
texture_normal = ExtResource("15_rfctk")
|
||||
stretch_mode = 4
|
||||
anchor_top = 0.015
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.0875
|
||||
grow_horizontal = 2
|
||||
theme_override_constants/separation = 13
|
||||
alignment = 1
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="SeparateBtn" type="TextureButton" parent="CanvasLayer/UI"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.666512
|
||||
anchor_top = 0.0395699
|
||||
anchor_right = 0.818178
|
||||
anchor_bottom = 0.10457
|
||||
offset_left = -1.14441e-05
|
||||
texture_normal = ExtResource("16_px53c")
|
||||
stretch_mode = 4
|
||||
[node name="ShirtIcon" type="Label" parent="Canvas/UI/SettingsCtrls"]
|
||||
layout_mode = 2
|
||||
auto_translate = false
|
||||
localize_numeral_system = false
|
||||
theme_override_colors/font_color = Color(0, 0.290196, 1, 1)
|
||||
theme_override_fonts/font = ExtResource("11_e3r4r")
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = ""
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
script = ExtResource("12_o3hu5")
|
||||
icon_name = "shirt"
|
||||
|
||||
[node name="FullbodyBtn" type="Button" parent="Canvas/UI/SettingsCtrls"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"FlatButton"
|
||||
theme_override_fonts/font = ExtResource("12_0f8fj")
|
||||
theme_override_styles/normal = ExtResource("11_a038t")
|
||||
theme_override_styles/hover = ExtResource("11_a038t")
|
||||
theme_override_styles/pressed = ExtResource("11_a038t")
|
||||
theme_override_styles/disabled = ExtResource("11_a038t")
|
||||
theme_override_styles/focus = ExtResource("11_a038t")
|
||||
text = "Outfits"
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[connection signal="pressed" from="CanvasLayer/UI/TopsFwdBtn" to="." method="_on_tops_fwd_btn_pressed"]
|
||||
[connection signal="pressed" from="CanvasLayer/UI/TopsBckBtn" to="." method="_on_tops_bck_btn_pressed"]
|
||||
[connection signal="pressed" from="CanvasLayer/UI/BottomsBckBtn" to="." method="_on_bottoms_bck_btn_pressed"]
|
||||
[connection signal="pressed" from="CanvasLayer/UI/BottomsFwdBtn" to="." method="_on_bottoms_fwd_btn_pressed"]
|
||||
[connection signal="pressed" from="CanvasLayer/UI/FullbodyBtn" to="." method="_on_fullbody_btn_pressed"]
|
||||
[connection signal="pressed" from="CanvasLayer/UI/SeparateBtn" to="." method="_on_separate_btn_pressed"]
|
||||
[node name="SeparateBtn" type="Button" parent="Canvas/UI/SettingsCtrls"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"FlatButton"
|
||||
theme_override_fonts/font = ExtResource("12_0f8fj")
|
||||
theme_override_styles/normal = ExtResource("11_a038t")
|
||||
theme_override_styles/hover = ExtResource("11_a038t")
|
||||
theme_override_styles/pressed = ExtResource("11_a038t")
|
||||
theme_override_styles/disabled = ExtResource("11_a038t")
|
||||
theme_override_styles/focus = ExtResource("11_a038t")
|
||||
text = "Seperate"
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="FontAwesome" type="Label" parent="Canvas/UI/SettingsCtrls"]
|
||||
layout_mode = 2
|
||||
auto_translate = false
|
||||
localize_numeral_system = false
|
||||
theme_override_colors/font_color = Color(0, 0.290196, 1, 1)
|
||||
theme_override_fonts/font = ExtResource("11_e3r4r")
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = ""
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
script = ExtResource("12_o3hu5")
|
||||
icon_name = "gear"
|
||||
|
||||
[node name="SaveBtn" type="Button" parent="Canvas/UI/SettingsCtrls"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"FlatButton"
|
||||
theme_override_fonts/font = ExtResource("12_0f8fj")
|
||||
theme_override_styles/normal = ExtResource("11_a038t")
|
||||
theme_override_styles/hover = ExtResource("11_a038t")
|
||||
theme_override_styles/pressed = ExtResource("11_a038t")
|
||||
theme_override_styles/disabled = ExtResource("11_a038t")
|
||||
theme_override_styles/focus = ExtResource("11_a038t")
|
||||
text = "Save"
|
||||
|
||||
[node name="ExitBtn" type="Button" parent="Canvas/UI/SettingsCtrls"]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("12_0f8fj")
|
||||
theme_override_styles/normal = ExtResource("11_a038t")
|
||||
theme_override_styles/hover = ExtResource("11_a038t")
|
||||
theme_override_styles/pressed = ExtResource("11_a038t")
|
||||
theme_override_styles/disabled = ExtResource("11_a038t")
|
||||
theme_override_styles/focus = ExtResource("11_a038t")
|
||||
text = "Exit"
|
||||
|
||||
[connection signal="pressed" from="Canvas/UI/DressUpCtrls/TopsFwdBtn" to="." method="_on_tops_fwd_btn_pressed"]
|
||||
[connection signal="pressed" from="Canvas/UI/DressUpCtrls/TopsBckBtn" to="." method="_on_tops_bck_btn_pressed"]
|
||||
[connection signal="pressed" from="Canvas/UI/DressUpCtrls/BottomsBckBtn" to="." method="_on_bottoms_bck_btn_pressed"]
|
||||
[connection signal="pressed" from="Canvas/UI/DressUpCtrls/BottomsFwdBtn" to="." method="_on_bottoms_fwd_btn_pressed"]
|
||||
[connection signal="pressed" from="Canvas/UI/SettingsCtrls/FullbodyBtn" to="." method="_on_fullbody_btn_pressed"]
|
||||
[connection signal="pressed" from="Canvas/UI/SettingsCtrls/SeparateBtn" to="." method="_on_separate_btn_pressed"]
|
||||
[connection signal="pressed" from="Canvas/UI/SettingsCtrls/SaveBtn" to="." method="_on_save_btn_pressed"]
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
[gd_resource type="SpriteFrames" load_steps=15 format=3 uid="uid://bhyon1s1op8ly"]
|
||||
[gd_resource type="SpriteFrames" load_steps=17 format=3 uid="uid://bhyon1s1op8ly"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://wfsffpk4h8p" path="res://sprites/clothes/sweat_pants.png" id="1_5mrf2"]
|
||||
[ext_resource type="Texture2D" uid="uid://b3xtl8c73nw30" path="res://sprites/clothes/beatup_jeans.png" id="2_0n07e"]
|
||||
[ext_resource type="Texture2D" uid="uid://bl8w5mjjo4i73" path="res://sprites/clothes/jeans.png" id="3_7udtq"]
|
||||
[ext_resource type="Texture2D" uid="uid://310b2835i5d8" path="res://sprites/clothes/dj_shirt.png" id="7_b8d0l"]
|
||||
[ext_resource type="Texture2D" uid="uid://5heuxqo78jns" path="res://sprites/clothes/fullbody/canonrhode.png" id="7_iagv2"]
|
||||
[ext_resource type="Texture2D" uid="uid://bhgvidynd582a" path="res://sprites/clothes/retro_shirt.svg" id="8_cd0je"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgnumy58myojg" path="res://sprites/clothes/fullbody/coat.png" id="8_uraqp"]
|
||||
[ext_resource type="Texture2D" uid="uid://6y443cg1s6up" path="res://sprites/clothes/fullbody/edsoutfit.png" id="9_osdr5"]
|
||||
[ext_resource type="Texture2D" uid="uid://dt1tsnusorwv8" path="res://sprites/clothes/korm_shirt.png" id="10_81cd5"]
|
||||
[ext_resource type="Texture2D" uid="uid://crgedi1ppq2ow" path="res://sprites/clothes/fullbody/formal.png" id="10_uqjix"]
|
||||
[ext_resource type="Texture2D" uid="uid://qvwv0sdwl5u4" path="res://sprites/clothes/fullsnack_shirt.svg" id="11_hmki5"]
|
||||
[ext_resource type="Texture2D" uid="uid://b07kumnwr7c0w" path="res://sprites/clothes/fullbody/mario.png" id="11_ssvy5"]
|
||||
[ext_resource type="Texture2D" uid="uid://c8xa7sal3omnm" path="res://sprites/clothes/fullbody/schoolgirl.png" id="12_3wtcm"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0sf2e2e5jfab" path="res://sprites/clothes/z_shirt.png" id="12_i81ab"]
|
||||
|
@ -69,6 +71,12 @@ animations = [{
|
|||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("12_i81ab")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("8_cd0je")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("11_hmki5")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"tops",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue