1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-05-05 13:34:48 -04:00
dressupzack/scenes/game.tscn
Tony Bark 6d75d04fc3 Further simplified design
- Removed a tone of bloat
- Use simple arrows to scroll through items instead of drag-and-drop
2024-01-16 08:01:06 -05:00

154 lines
5.4 KiB
Text

[gd_scene load_steps=17 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"]
[ext_resource type="Texture2D" uid="uid://bi7ayrxnn7hex" path="res://sprites/world/icrazy_frame.svg" id="2_n1kmf"]
[ext_resource type="Texture2D" uid="uid://cmv58t1dfgsov" path="res://sprites/world/stand.svg" id="2_q0w7j"]
[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="Texture2D" uid="uid://405burxtvied" path="res://sprites/clothes/sweat_pants.svg" id="7_7tx8y"]
[ext_resource type="Texture2D" uid="uid://venieklgphn5" path="res://sprites/clothes/blue_camo_jeans.svg" id="8_bqcl8"]
[ext_resource type="Texture2D" uid="uid://8vrl1mmcm5is" path="res://sprites/clothes/beat_up_jeans.svg" id="8_jisbs"]
[ext_resource type="Texture2D" uid="uid://310b2835i5d8" path="res://sprites/clothes/dj_shirt.png" id="8_r4o7r"]
[ext_resource type="Texture2D" uid="uid://dt1tsnusorwv8" path="res://sprites/clothes/korm_shirt.png" id="11_6ilrq"]
[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://wr3ns0ywb75q" path="res://sprites/logo.png" id="16_y58oj"]
[ext_resource type="Texture2D" uid="uid://b0sf2e2e5jfab" path="res://sprites/clothes/z_shirt.png" id="17_yoe0e"]
[sub_resource type="SpriteFrames" id="SpriteFrames_jjbgs"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("7_7tx8y")
}, {
"duration": 1.0,
"texture": ExtResource("8_jisbs")
}, {
"duration": 1.0,
"texture": ExtResource("8_bqcl8")
}],
"loop": true,
"name": &"bottoms",
"speed": 1.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("8_r4o7r")
}, {
"duration": 1.0,
"texture": ExtResource("11_6ilrq")
}, {
"duration": 1.0,
"texture": ExtResource("17_yoe0e")
}],
"loop": true,
"name": &"tops",
"speed": 5.0
}]
[node name="Game" type="Node"]
script = ExtResource("1_qt3fe")
[node name="Background" type="Sprite2D" parent="."]
position = Vector2(577.603, 328.303)
scale = Vector2(1.14718, 1.13943)
texture = ExtResource("1_uee2i")
metadata/_edit_lock_ = true
[node name="Stand" type="Sprite2D" parent="."]
position = Vector2(564.62, 543.689)
scale = Vector2(1.79062, 1.7736)
texture = ExtResource("2_q0w7j")
[node name="BoxersOfAmericaFrame" type="Sprite2D" parent="."]
position = Vector2(942.068, 139.049)
scale = Vector2(1.7514, 1.86172)
texture = ExtResource("4_327cy")
[node name="iCrazyFrame" type="Sprite2D" parent="."]
position = Vector2(183.37, 149.267)
scale = Vector2(1.25573, 1.3008)
texture = ExtResource("2_n1kmf")
[node name="Character" parent="." instance=ExtResource("6_tdil0")]
position = Vector2(557.567, 197.468)
scale = Vector2(1.5, 1.5)
[node name="Bottoms" type="AnimatedSprite2D" parent="."]
position = Vector2(570.883, 453.423)
scale = Vector2(1.85571, 1.88987)
sprite_frames = SubResource("SpriteFrames_jjbgs")
animation = &"bottoms"
[node name="Tops" type="AnimatedSprite2D" parent="."]
position = Vector2(579.842, 318.193)
scale = Vector2(1.5, 1.5)
sprite_frames = SubResource("SpriteFrames_jjbgs")
animation = &"tops"
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Control" type="Control" parent="CanvasLayer"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_lock_ = true
[node name="TopsFwdBtn" type="TextureButton" parent="CanvasLayer/Control"]
layout_mode = 0
offset_left = 733.043
offset_top = 272.435
offset_right = 776.043
offset_bottom = 335.435
scale = Vector2(1.5, 1.5)
texture_normal = ExtResource("14_yk2bu")
stretch_mode = 4
[node name="TopsBckBtn" type="TextureButton" parent="CanvasLayer/Control"]
layout_mode = 0
offset_left = 322.285
offset_top = 269.324
offset_right = 365.285
offset_bottom = 332.324
scale = Vector2(1.5, 1.5)
texture_normal = ExtResource("15_g5gd1")
[node name="BottomsBckBtn" type="TextureButton" parent="CanvasLayer/Control"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.273624
anchor_top = 0.59627
anchor_right = 0.330916
anchor_bottom = 0.753677
offset_top = -1.90735e-05
offset_right = 1.52588e-05
offset_bottom = -1.04904e-05
texture_normal = ExtResource("15_g5gd1")
stretch_mode = 4
metadata/_edit_use_anchors_ = true
[node name="BottomsFwdBtn" type="TextureButton" parent="CanvasLayer/Control"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.636238
anchor_top = 0.600003
anchor_right = 0.695266
anchor_bottom = 0.752781
offset_left = 1.52588e-05
texture_normal = ExtResource("14_yk2bu")
stretch_mode = 4
metadata/_edit_use_anchors_ = true
[node name="Logo" type="Sprite2D" parent="."]
position = Vector2(1052.16, 511.503)
scale = Vector2(0.225814, 0.216046)
texture = ExtResource("16_y58oj")
[connection signal="pressed" from="CanvasLayer/Control/TopsFwdBtn" to="." method="_on_tops_fwd_btn_pressed"]
[connection signal="pressed" from="CanvasLayer/Control/TopsBckBtn" to="." method="_on_tops_bck_btn_pressed"]
[connection signal="pressed" from="CanvasLayer/Control/BottomsBckBtn" to="." method="_on_bottoms_bck_btn_pressed"]
[connection signal="pressed" from="CanvasLayer/Control/BottomsFwdBtn" to="." method="_on_bottoms_fwd_btn_pressed"]