mirror of
				https://github.com/tonytins/dressupzack
				synced 2025-10-31 06:24:44 -04:00 
			
		
		
		
	Further simplified design
- Removed a tone of bloat - Use simple arrows to scroll through items instead of drag-and-drop
This commit is contained in:
		
							parent
							
								
									3097f5063a
								
							
						
					
					
						commit
						6d75d04fc3
					
				
					 40 changed files with 1610 additions and 1161 deletions
				
			
		|  | @ -1,18 +0,0 @@ | |||
| [gd_scene load_steps=3 format=3 uid="uid://bguec0ft5ygk4"] | ||||
| 
 | ||||
| [ext_resource type="PackedScene" uid="uid://bvbelmb6rvy4f" path="res://scenes/platform.tscn" id="1_31w52"] | ||||
| [ext_resource type="PackedScene" uid="uid://dn152ouc7l21p" path="res://scenes/object.tscn" id="2_cgl4f"] | ||||
| 
 | ||||
| [node name="Demo" type="Node2D"] | ||||
| 
 | ||||
| [node name="Platform" parent="." instance=ExtResource("1_31w52")] | ||||
| position = Vector2(170, 92) | ||||
| 
 | ||||
| [node name="Platform2" parent="." instance=ExtResource("1_31w52")] | ||||
| position = Vector2(419, 84) | ||||
| 
 | ||||
| [node name="Platform3" parent="." instance=ExtResource("1_31w52")] | ||||
| position = Vector2(296, 286) | ||||
| 
 | ||||
| [node name="Object" parent="." instance=ExtResource("2_cgl4f")] | ||||
| position = Vector2(169, 90) | ||||
							
								
								
									
										157
									
								
								scenes/game.tscn
									
										
									
									
									
								
							
							
						
						
									
										157
									
								
								scenes/game.tscn
									
										
									
									
									
								
							|  | @ -1,49 +1,154 @@ | |||
| [gd_scene load_steps=9 format=3 uid="uid://cvr2aries2lhr"] | ||||
| [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/clothes/icrazy_frame.svg" id="2_n1kmf"] | ||||
| [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://dteiup73cqn4o" path="res://sprites/clothes/lights.png" id="3_bbsyl"] | ||||
| [ext_resource type="PackedScene" uid="uid://dn152ouc7l21p" path="res://scenes/object.tscn" id="6_6t4pu"] | ||||
| [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="PackedScene" uid="uid://bvbelmb6rvy4f" path="res://scenes/platform.tscn" id="7_vqx6c"] | ||||
| [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(400, 240) | ||||
| 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(125, 461) | ||||
| scale = Vector2(1.28991, 1.3328) | ||||
| position = Vector2(564.62, 543.689) | ||||
| scale = Vector2(1.79062, 1.7736) | ||||
| texture = ExtResource("2_q0w7j") | ||||
| 
 | ||||
| [node name="PictureFrame" type="Sprite2D" parent="."] | ||||
| position = Vector2(107.454, 127.574) | ||||
| [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="Light3D" type="PointLight2D" parent="PictureFrame"] | ||||
| position = Vector2(35.118, -14.56) | ||||
| texture = ExtResource("3_bbsyl") | ||||
| metadata/_edit_lock_ = true | ||||
| 
 | ||||
| [node name="Character" parent="." instance=ExtResource("6_tdil0")] | ||||
| position = Vector2(117, 234) | ||||
| 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="Bottoms" parent="." groups=["pants"] instance=ExtResource("7_vqx6c")] | ||||
| position = Vector2(120, 409) | ||||
| [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="Platform" parent="." groups=["pants"] instance=ExtResource("7_vqx6c")] | ||||
| position = Vector2(335, 78) | ||||
| [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="Object" parent="." instance=ExtResource("6_6t4pu")] | ||||
| position = Vector2(335, 79) | ||||
| group = "pants" | ||||
| texture = ExtResource("8_bqcl8") | ||||
| [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="TileMap" type="TileMap" parent="."] | ||||
| format = 2 | ||||
| [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"] | ||||
|  |  | |||
|  | @ -1,26 +0,0 @@ | |||
| [gd_scene load_steps=3 format=3 uid="uid://dn152ouc7l21p"] | ||||
| 
 | ||||
| [ext_resource type="Script" path="res://scripts/object.gd" id="1_tyfcj"] | ||||
| 
 | ||||
| [sub_resource type="RectangleShape2D" id="RectangleShape2D_xd2jg"] | ||||
| size = Vector2(111, 125.5) | ||||
| 
 | ||||
| [node name="Object" type="Node2D"] | ||||
| script = ExtResource("1_tyfcj") | ||||
| 
 | ||||
| [node name="Sprite2D" type="Sprite2D" parent="."] | ||||
| position = Vector2(4.5, 6.5) | ||||
| scale = Vector2(1.32143, 1.32292) | ||||
| 
 | ||||
| [node name="Area2D" type="Area2D" parent="."] | ||||
| metadata/_edit_lock_ = true | ||||
| 
 | ||||
| [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] | ||||
| position = Vector2(5, 7) | ||||
| shape = SubResource("RectangleShape2D_xd2jg") | ||||
| metadata/_edit_lock_ = true | ||||
| 
 | ||||
| [connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"] | ||||
| [connection signal="body_exited" from="Area2D" to="." method="_on_area_2d_body_exited"] | ||||
| [connection signal="mouse_entered" from="Area2D" to="." method="_on_area_2d_mouse_entered"] | ||||
| [connection signal="mouse_exited" from="Area2D" to="." method="_on_area_2d_mouse_exited"] | ||||
|  | @ -1,20 +0,0 @@ | |||
| [gd_scene load_steps=4 format=3 uid="uid://bvbelmb6rvy4f"] | ||||
| 
 | ||||
| [ext_resource type="Script" path="res://scripts/platform.gd" id="1_xgdk6"] | ||||
| [ext_resource type="Texture2D" uid="uid://c52oho3nvkt45" path="res://sprites/clothes/scale.png" id="2_ic83p"] | ||||
| 
 | ||||
| [sub_resource type="RectangleShape2D" id="RectangleShape2D_ieyrm"] | ||||
| size = Vector2(111, 126) | ||||
| 
 | ||||
| [node name="Platform" type="StaticBody2D"] | ||||
| script = ExtResource("1_xgdk6") | ||||
| 
 | ||||
| [node name="Sprite2D" type="Sprite2D" parent="."] | ||||
| position = Vector2(4.5, 7) | ||||
| scale = Vector2(1.32143, 1.28571) | ||||
| texture = ExtResource("2_ic83p") | ||||
| 
 | ||||
| [node name="CollisionShape2D" type="CollisionShape2D" parent="."] | ||||
| position = Vector2(4.5, 7) | ||||
| shape = SubResource("RectangleShape2D_ieyrm") | ||||
| metadata/_edit_lock_ = true | ||||
|  | @ -1,51 +0,0 @@ | |||
| [gd_scene load_steps=3 format=3 uid="uid://crwoe1shep3qn"] | ||||
| 
 | ||||
| [ext_resource type="PackedScene" uid="uid://dn152ouc7l21p" path="res://scenes/object.tscn" id="1_0jlsi"] | ||||
| 
 | ||||
| [sub_resource type="RectangleShape2D" id="RectangleShape2D_oig6u"] | ||||
| size = Vector2(111, 125.5) | ||||
| 
 | ||||
| [node name="Wordrobe" type="Panel"] | ||||
| anchors_preset = 15 | ||||
| anchor_right = 1.0 | ||||
| anchor_bottom = 1.0 | ||||
| grow_horizontal = 2 | ||||
| grow_vertical = 2 | ||||
| metadata/_edit_use_anchors_ = true | ||||
| 
 | ||||
| [node name="Grid" type="GridContainer" parent="."] | ||||
| layout_mode = 2 | ||||
| anchor_right = 1.0 | ||||
| anchor_bottom = 1.0 | ||||
| grow_horizontal = 2 | ||||
| grow_vertical = 2 | ||||
| size_flags_horizontal = 3 | ||||
| size_flags_vertical = 3 | ||||
| columns = 4 | ||||
| metadata/_edit_use_anchors_ = true | ||||
| 
 | ||||
| [node name="Object" parent="Grid" instance=ExtResource("1_0jlsi")] | ||||
| position = Vector2(51, 54) | ||||
| texture = null | ||||
| 
 | ||||
| [node name="Bottoms" type="StaticBody2D" parent="Grid" groups=["bottoms"]] | ||||
| 
 | ||||
| [node name="ColorRect" type="ColorRect" parent="Grid/Bottoms"] | ||||
| custom_minimum_size = Vector2(111, 125) | ||||
| anchors_preset = 8 | ||||
| anchor_left = 0.5 | ||||
| anchor_top = 0.5 | ||||
| anchor_right = 0.5 | ||||
| anchor_bottom = 0.5 | ||||
| offset_left = -49.0 | ||||
| offset_top = 116.0 | ||||
| offset_right = 62.0 | ||||
| offset_bottom = 241.0 | ||||
| grow_horizontal = 2 | ||||
| grow_vertical = 2 | ||||
| color = Color(1, 1, 1, 0.0980392) | ||||
| metadata/_edit_use_anchors_ = true | ||||
| 
 | ||||
| [node name="CollisionShape2D" type="CollisionShape2D" parent="Grid/Bottoms"] | ||||
| position = Vector2(6, 178.25) | ||||
| shape = SubResource("RectangleShape2D_oig6u") | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue