Project Files

This commit is contained in:
2026-02-16 13:44:20 -06:00
parent b3604e2538
commit 0ec11483f8
28 changed files with 1056 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://lqrfxvrdc4qq"
path="res://.godot/imported/Farmer_Pants_1_Black.png-15e7c43d1c5fcd845f700269afa2515d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Spritesheets/Farmer_Pants_1_Black.png"
dest_files=["res://.godot/imported/Farmer_Pants_1_Black.png-15e7c43d1c5fcd845f700269afa2515d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://4mpha6wuvyfy"
path="res://.godot/imported/Farmer_Shirt_1_Black.png-8b1dcf36a150d6b480fd95c8990539fe.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Spritesheets/Farmer_Shirt_1_Black.png"
dest_files=["res://.godot/imported/Farmer_Shirt_1_Black.png-8b1dcf36a150d6b480fd95c8990539fe.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://1g5dx0dbupwk"
path="res://.godot/imported/Hair_1_Blonde.png-e93c90625ead2d832d7ef1b83045cb77.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Spritesheets/Hair_1_Blonde.png"
dest_files=["res://.godot/imported/Hair_1_Blonde.png-e93c90625ead2d832d7ef1b83045cb77.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b1yikmomtafpg"
path="res://.godot/imported/Hands_1_Bare.png-5e14424b29c52ecfcfe6e04a36bdd9d4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Spritesheets/Hands_1_Bare.png"
dest_files=["res://.godot/imported/Hands_1_Bare.png-5e14424b29c52ecfcfe6e04a36bdd9d4.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://de0ihg453ruyi"
path="res://.godot/imported/Player_Base_animations.png-af4aa0d38534a90566ea24fc25956ca2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Spritesheets/Player_Base_animations.png"
dest_files=["res://.godot/imported/Player_Base_animations.png-af4aa0d38534a90566ea24fc25956ca2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dw03nnfxdpb85"
path="res://.godot/imported/Shoes_1_Black.png-f4d9e6fa7fc208e65e537b49e204cfda.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Spritesheets/Shoes_1_Black.png"
dest_files=["res://.godot/imported/Shoes_1_Black.png-f4d9e6fa7fc208e65e537b49e204cfda.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -0,0 +1,4 @@
[gd_resource type="SystemFont" format=3 uid="uid://c4uck407a6w56"]
[resource]
font_names = PackedStringArray("JetBrains Mono")

View File

@@ -0,0 +1,19 @@
[gd_scene format=3 uid="uid://6athlweutl2g"]
[ext_resource type="PackedScene" uid="uid://uyl0s1e67x6s" path="res://Scenes/Characters/Player/sprite.tscn" id="1_27cb7"]
[ext_resource type="PackedScene" uid="uid://c2ydbmmvnfca6" path="res://Scenes/Characters/Player/state_machine.tscn" id="1_lyjr2"]
[ext_resource type="Script" uid="uid://b0l02v61if6k8" path="res://Scripts/Components/FacingDirectionComponent.gd" id="1_siygm"]
[node name="Player" type="CharacterBody2D" unique_id=1502234578]
[node name="Components" type="Node" parent="." unique_id=567893784]
[node name="FacingDirectionComponent" type="Node" parent="Components" unique_id=408127032]
script = ExtResource("1_siygm")
current_direction = 0
[node name="StateMachine" parent="." unique_id=732559774 instance=ExtResource("1_lyjr2")]
[node name="Sprite" parent="." unique_id=1169131604 node_paths=PackedStringArray("state_machine", "direction_component") instance=ExtResource("1_27cb7")]
state_machine = NodePath("../StateMachine")
direction_component = NodePath("../Components/FacingDirectionComponent")

View File

@@ -0,0 +1,624 @@
[gd_scene format=3 uid="uid://uyl0s1e67x6s"]
[ext_resource type="Texture2D" uid="uid://de0ihg453ruyi" path="res://Assets/Spritesheets/Player_Base_animations.png" id="1_45g06"]
[ext_resource type="Script" uid="uid://cuar23q48cbja" path="res://Scripts/Characters/Player/sprite.gd" id="1_jqxwg"]
[ext_resource type="Texture2D" uid="uid://1g5dx0dbupwk" path="res://Assets/Spritesheets/Hair_1_Blonde.png" id="2_jqxwg"]
[ext_resource type="Texture2D" uid="uid://4mpha6wuvyfy" path="res://Assets/Spritesheets/Farmer_Shirt_1_Black.png" id="3_ndjja"]
[ext_resource type="Texture2D" uid="uid://lqrfxvrdc4qq" path="res://Assets/Spritesheets/Farmer_Pants_1_Black.png" id="4_nwemi"]
[ext_resource type="Texture2D" uid="uid://b1yikmomtafpg" path="res://Assets/Spritesheets/Hands_1_Bare.png" id="5_jlj55"]
[ext_resource type="Texture2D" uid="uid://dw03nnfxdpb85" path="res://Assets/Spritesheets/Shoes_1_Black.png" id="6_h1kk7"]
[sub_resource type="AtlasTexture" id="AtlasTexture_40svl"]
atlas = ExtResource("1_45g06")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_al8ar"]
atlas = ExtResource("1_45g06")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_gy20a"]
atlas = ExtResource("1_45g06")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cqrjx"]
atlas = ExtResource("1_45g06")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_khnq4"]
atlas = ExtResource("1_45g06")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_utp2y"]
atlas = ExtResource("1_45g06")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_jqxwg"]
atlas = ExtResource("1_45g06")
region = Rect2(0, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ndjja"]
atlas = ExtResource("1_45g06")
region = Rect2(64, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_nwemi"]
atlas = ExtResource("1_45g06")
region = Rect2(128, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_jlj55"]
atlas = ExtResource("1_45g06")
region = Rect2(192, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_h1kk7"]
atlas = ExtResource("1_45g06")
region = Rect2(256, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ekpmn"]
atlas = ExtResource("1_45g06")
region = Rect2(320, 64, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_gdgf0"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_40svl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_al8ar")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gy20a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cqrjx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_khnq4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_utp2y")
}],
"loop": true,
"name": &"idle-down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_jqxwg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ndjja")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nwemi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jlj55")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_h1kk7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ekpmn")
}],
"loop": true,
"name": &"idle-side",
"speed": 5.0
}]
[sub_resource type="AtlasTexture" id="AtlasTexture_gdgf0"]
atlas = ExtResource("2_jqxwg")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_xo8ps"]
atlas = ExtResource("2_jqxwg")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_fcmex"]
atlas = ExtResource("2_jqxwg")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_25bbb"]
atlas = ExtResource("2_jqxwg")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cueqf"]
atlas = ExtResource("2_jqxwg")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_01b8d"]
atlas = ExtResource("2_jqxwg")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_l06vn"]
atlas = ExtResource("2_jqxwg")
region = Rect2(0, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3uap6"]
atlas = ExtResource("2_jqxwg")
region = Rect2(64, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_mxids"]
atlas = ExtResource("2_jqxwg")
region = Rect2(128, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_va54l"]
atlas = ExtResource("2_jqxwg")
region = Rect2(192, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_7txqm"]
atlas = ExtResource("2_jqxwg")
region = Rect2(256, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_fol0j"]
atlas = ExtResource("2_jqxwg")
region = Rect2(320, 64, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_xccyk"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_gdgf0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xo8ps")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fcmex")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_25bbb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cueqf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_01b8d")
}],
"loop": true,
"name": &"idle-down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_l06vn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3uap6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mxids")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_va54l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7txqm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fol0j")
}],
"loop": true,
"name": &"idle-side",
"speed": 5.0
}]
[sub_resource type="AtlasTexture" id="AtlasTexture_h1n2f"]
atlas = ExtResource("3_ndjja")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_dxpk4"]
atlas = ExtResource("3_ndjja")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_15c3i"]
atlas = ExtResource("3_ndjja")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_yt1oc"]
atlas = ExtResource("3_ndjja")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_jnx77"]
atlas = ExtResource("3_ndjja")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hy8lp"]
atlas = ExtResource("3_ndjja")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_33tm7"]
atlas = ExtResource("3_ndjja")
region = Rect2(0, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_bod5r"]
atlas = ExtResource("3_ndjja")
region = Rect2(64, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hh1q3"]
atlas = ExtResource("3_ndjja")
region = Rect2(128, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_pdl7v"]
atlas = ExtResource("3_ndjja")
region = Rect2(192, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_45axt"]
atlas = ExtResource("3_ndjja")
region = Rect2(256, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_5c16u"]
atlas = ExtResource("3_ndjja")
region = Rect2(320, 64, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_uxymp"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_h1n2f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dxpk4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_15c3i")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yt1oc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jnx77")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hy8lp")
}],
"loop": true,
"name": &"idle-down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_33tm7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bod5r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hh1q3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pdl7v")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_45axt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5c16u")
}],
"loop": true,
"name": &"idle-side",
"speed": 5.0
}]
[sub_resource type="AtlasTexture" id="AtlasTexture_fepmq"]
atlas = ExtResource("4_nwemi")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ddhxa"]
atlas = ExtResource("4_nwemi")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3k74t"]
atlas = ExtResource("4_nwemi")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_v8iml"]
atlas = ExtResource("4_nwemi")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ojpki"]
atlas = ExtResource("4_nwemi")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_rv8bj"]
atlas = ExtResource("4_nwemi")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ykn0l"]
atlas = ExtResource("4_nwemi")
region = Rect2(0, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0umab"]
atlas = ExtResource("4_nwemi")
region = Rect2(64, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_1hx1l"]
atlas = ExtResource("4_nwemi")
region = Rect2(128, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_t8o0d"]
atlas = ExtResource("4_nwemi")
region = Rect2(192, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_d7qj2"]
atlas = ExtResource("4_nwemi")
region = Rect2(256, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_1vxrf"]
atlas = ExtResource("4_nwemi")
region = Rect2(320, 64, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_inlw8"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_fepmq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ddhxa")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3k74t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_v8iml")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ojpki")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rv8bj")
}],
"loop": true,
"name": &"idle-down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ykn0l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0umab")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1hx1l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t8o0d")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d7qj2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1vxrf")
}],
"loop": true,
"name": &"idle-side",
"speed": 5.0
}]
[sub_resource type="AtlasTexture" id="AtlasTexture_xccyk"]
atlas = ExtResource("5_jlj55")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_uxymp"]
atlas = ExtResource("5_jlj55")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_inlw8"]
atlas = ExtResource("5_jlj55")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_f2s78"]
atlas = ExtResource("5_jlj55")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hwltk"]
atlas = ExtResource("5_jlj55")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hhnlt"]
atlas = ExtResource("5_jlj55")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_8yclo"]
atlas = ExtResource("5_jlj55")
region = Rect2(0, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_txuvg"]
atlas = ExtResource("5_jlj55")
region = Rect2(64, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_n6hxx"]
atlas = ExtResource("5_jlj55")
region = Rect2(128, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ejtmi"]
atlas = ExtResource("5_jlj55")
region = Rect2(192, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_j71g1"]
atlas = ExtResource("5_jlj55")
region = Rect2(256, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_m74eu"]
atlas = ExtResource("5_jlj55")
region = Rect2(320, 64, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_m75h8"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_xccyk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uxymp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_inlw8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_f2s78")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hwltk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hhnlt")
}],
"loop": true,
"name": &"idle-down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_8yclo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_txuvg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_n6hxx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ejtmi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j71g1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m74eu")
}],
"loop": true,
"name": &"idle-side",
"speed": 5.0
}]
[sub_resource type="AtlasTexture" id="AtlasTexture_m75h8"]
atlas = ExtResource("6_h1kk7")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_2dmea"]
atlas = ExtResource("6_h1kk7")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_lml76"]
atlas = ExtResource("6_h1kk7")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ste30"]
atlas = ExtResource("6_h1kk7")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_6kewp"]
atlas = ExtResource("6_h1kk7")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_j3fsp"]
atlas = ExtResource("6_h1kk7")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_kqg7n"]
atlas = ExtResource("6_h1kk7")
region = Rect2(0, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_w15w3"]
atlas = ExtResource("6_h1kk7")
region = Rect2(64, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_82p57"]
atlas = ExtResource("6_h1kk7")
region = Rect2(128, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_v84eh"]
atlas = ExtResource("6_h1kk7")
region = Rect2(192, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_l8x7m"]
atlas = ExtResource("6_h1kk7")
region = Rect2(256, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_y387u"]
atlas = ExtResource("6_h1kk7")
region = Rect2(320, 64, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_2davj"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_m75h8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2dmea")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lml76")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ste30")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6kewp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j3fsp")
}],
"loop": true,
"name": &"idle-down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_kqg7n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_w15w3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_82p57")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_v84eh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_l8x7m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_y387u")
}],
"loop": true,
"name": &"idle-side",
"speed": 5.0
}]
[node name="Sprite" type="Node2D" unique_id=1169131604]
script = ExtResource("1_jqxwg")
[node name="Base" type="AnimatedSprite2D" parent="." unique_id=2054948028]
sprite_frames = SubResource("SpriteFrames_gdgf0")
animation = &"idle-side"
autoplay = "idle-down"
[node name="Hair" type="AnimatedSprite2D" parent="." unique_id=231591242]
sprite_frames = SubResource("SpriteFrames_xccyk")
animation = &"idle-side"
autoplay = "idle-down"
[node name="Shirt" type="AnimatedSprite2D" parent="." unique_id=973518035]
sprite_frames = SubResource("SpriteFrames_uxymp")
animation = &"idle-side"
autoplay = "idle-down"
[node name="Pants" type="AnimatedSprite2D" parent="." unique_id=1239862223]
sprite_frames = SubResource("SpriteFrames_inlw8")
animation = &"idle-side"
autoplay = "idle-down"
[node name="Hands" type="AnimatedSprite2D" parent="." unique_id=1598152304]
sprite_frames = SubResource("SpriteFrames_m75h8")
animation = &"idle-side"
autoplay = "idle-down"
[node name="Shoes" type="AnimatedSprite2D" parent="." unique_id=482154148]
sprite_frames = SubResource("SpriteFrames_2davj")
animation = &"idle-side"
autoplay = "idle-down"

View File

@@ -0,0 +1,6 @@
[gd_scene format=3 uid="uid://c2ydbmmvnfca6"]
[ext_resource type="Script" uid="uid://c74mhfemxuuco" path="res://Scripts/Characters/Player/state_machine.gd" id="1_clu2m"]
[node name="StateMachine" type="Node" unique_id=732559774]
script = ExtResource("1_clu2m")

12
Scenes/shop.tscn Normal file
View File

@@ -0,0 +1,12 @@
[gd_scene format=3 uid="uid://bwt0ijoq4qmhn"]
[ext_resource type="PackedScene" uid="uid://6athlweutl2g" path="res://Scenes/Characters/Player/player.tscn" id="1_a0mxf"]
[node name="Shop" type="Node2D" unique_id=547318403]
[node name="Player" parent="." unique_id=1502234578 instance=ExtResource("1_a0mxf")]
position = Vector2(289, 174)
[node name="Camera2D" type="Camera2D" parent="." unique_id=1684491254]
position = Vector2(307, 165)
zoom = Vector2(3, 3)

View File

@@ -0,0 +1,42 @@
extends Node2D
@export var state_machine: PlayerStateMachine
@export var direction_component: FacingDirectionComponent
@onready var base: AnimatedSprite2D = $Base
@onready var hair: AnimatedSprite2D = $Hair
@onready var pants: AnimatedSprite2D = $Pants
@onready var hands: AnimatedSprite2D = $Hands
@onready var shoes: AnimatedSprite2D = $Shoes
var all_parts: Array[AnimatedSprite2D]
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
all_parts = [
base, hair, pants, hands, shoes
]
var animation := _build_animation_name(state_machine.GetCurrentState(), direction_component.GetCurrentDirection())
var should_flip := _should_flip_horizontal()
for part in all_parts:
part.animation = animation
part.play()
part.flip_h = should_flip
func _build_animation_name(state: PlayerStateMachine.States, direction: Enums.Directions) -> String:
# e.g. "idle-down", "walking-up"
var state_str = PlayerStateMachine.States.keys()[state].to_lower()
var direction_str = _direction_to_animation_state(direction)
return "%s-%s" % [state_str, direction_str]
func _direction_to_animation_state(direction: Enums.Directions) -> String:
if direction == Enums.Directions.LEFT or direction == Enums.Directions.RIGHT:
return "side"
return Enums.Directions.keys()[direction].to_lower()
func _should_flip_horizontal() -> bool:
return direction_component.GetCurrentDirection() == Enums.Directions.LEFT

View File

@@ -0,0 +1 @@
uid://cuar23q48cbja

View File

@@ -0,0 +1,19 @@
extends Node
class_name PlayerStateMachine
enum States {
IDLE, WALKING
}
# Public Methods
func GetCurrentState() -> States:
return States.IDLE
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass

View File

@@ -0,0 +1 @@
uid://c74mhfemxuuco

View File

@@ -0,0 +1,8 @@
extends Node
class_name FacingDirectionComponent
@export var current_direction := Enums.Directions.DOWN
# Public Methods
func GetCurrentDirection() -> Enums.Directions:
return current_direction

View File

@@ -0,0 +1 @@
uid://b0l02v61if6k8

5
Scripts/enums.gd Normal file
View File

@@ -0,0 +1,5 @@
extends Node
enum Directions {
LEFT, RIGHT, UP, DOWN
}

1
Scripts/enums.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://bfddgy6gohdj3

1
icon.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128"><rect width="124" height="124" x="2" y="2" fill="#363d52" stroke="#212532" stroke-width="4" rx="14"/><g fill="#fff" transform="translate(12.322 12.322)scale(.101)"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 814 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H446l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c0 34 58 34 58 0v-86c0-34-58-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042" transform="translate(12.322 12.322)scale(.101)"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></svg>

After

Width:  |  Height:  |  Size: 995 B

43
icon.svg.import Normal file
View File

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://co6u4rcvycv0n"
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.svg"
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

29
project.godot Normal file
View File

@@ -0,0 +1,29 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="Archipelago Game"
run/main_scene="uid://bwt0ijoq4qmhn"
config/features=PackedStringArray("4.6", "Forward Plus")
config/icon="res://icon.svg"
[autoload]
Enums="*uid://bfddgy6gohdj3"
[physics]
3d/physics_engine="Jolt Physics"
[rendering]
textures/canvas_textures/default_texture_filter=0
rendering_device/driver.windows="d3d12"