diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton Attack.png b/resources/animated sprite/Skeleton Sprite/Skeleton Attack.png new file mode 100644 index 0000000..807443b Binary files /dev/null and b/resources/animated sprite/Skeleton Sprite/Skeleton Attack.png differ diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton Attack.png.import b/resources/animated sprite/Skeleton Sprite/Skeleton Attack.png.import new file mode 100644 index 0000000..b12c8e5 --- /dev/null +++ b/resources/animated sprite/Skeleton Sprite/Skeleton Attack.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cowabod6jrn47" +path="res://.godot/imported/Skeleton Attack.png-049662b12bed4ec69aa7828712b2b871.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/animated sprite/Skeleton Sprite/Skeleton Attack.png" +dest_files=["res://.godot/imported/Skeleton Attack.png-049662b12bed4ec69aa7828712b2b871.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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 diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton Dead.png b/resources/animated sprite/Skeleton Sprite/Skeleton Dead.png new file mode 100644 index 0000000..64f539d Binary files /dev/null and b/resources/animated sprite/Skeleton Sprite/Skeleton Dead.png differ diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton Dead.png.import b/resources/animated sprite/Skeleton Sprite/Skeleton Dead.png.import new file mode 100644 index 0000000..d2472af --- /dev/null +++ b/resources/animated sprite/Skeleton Sprite/Skeleton Dead.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://660wqxgwh8dr" +path="res://.godot/imported/Skeleton Dead.png-d7a83435b157e05a1d13265f37b1daa6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/animated sprite/Skeleton Sprite/Skeleton Dead.png" +dest_files=["res://.godot/imported/Skeleton Dead.png-d7a83435b157e05a1d13265f37b1daa6.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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 diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton Hit.png b/resources/animated sprite/Skeleton Sprite/Skeleton Hit.png new file mode 100644 index 0000000..b9c6c08 Binary files /dev/null and b/resources/animated sprite/Skeleton Sprite/Skeleton Hit.png differ diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton Hit.png.import b/resources/animated sprite/Skeleton Sprite/Skeleton Hit.png.import new file mode 100644 index 0000000..55e9d89 --- /dev/null +++ b/resources/animated sprite/Skeleton Sprite/Skeleton Hit.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://btfjyc4jfhiii" +path="res://.godot/imported/Skeleton Hit.png-1c1b2b67a260111c2ac7c3f48618da2e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/animated sprite/Skeleton Sprite/Skeleton Hit.png" +dest_files=["res://.godot/imported/Skeleton Hit.png-1c1b2b67a260111c2ac7c3f48618da2e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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 diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton Idle.png b/resources/animated sprite/Skeleton Sprite/Skeleton Idle.png new file mode 100644 index 0000000..9137085 Binary files /dev/null and b/resources/animated sprite/Skeleton Sprite/Skeleton Idle.png differ diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton Idle.png.import b/resources/animated sprite/Skeleton Sprite/Skeleton Idle.png.import new file mode 100644 index 0000000..feb9d8d --- /dev/null +++ b/resources/animated sprite/Skeleton Sprite/Skeleton Idle.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bcr4bokw87m5n" +path="res://.godot/imported/Skeleton Idle.png-3aae60d292addc7af911333cb2fced6a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/animated sprite/Skeleton Sprite/Skeleton Idle.png" +dest_files=["res://.godot/imported/Skeleton Idle.png-3aae60d292addc7af911333cb2fced6a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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 diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton React.png b/resources/animated sprite/Skeleton Sprite/Skeleton React.png new file mode 100644 index 0000000..dbd9943 Binary files /dev/null and b/resources/animated sprite/Skeleton Sprite/Skeleton React.png differ diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton React.png.import b/resources/animated sprite/Skeleton Sprite/Skeleton React.png.import new file mode 100644 index 0000000..a63a277 --- /dev/null +++ b/resources/animated sprite/Skeleton Sprite/Skeleton React.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cuo2o785qopo3" +path="res://.godot/imported/Skeleton React.png-e4462e4ebc0bd8edc6e0657880709951.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/animated sprite/Skeleton Sprite/Skeleton React.png" +dest_files=["res://.godot/imported/Skeleton React.png-e4462e4ebc0bd8edc6e0657880709951.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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 diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton Walk.png b/resources/animated sprite/Skeleton Sprite/Skeleton Walk.png new file mode 100644 index 0000000..17dfd1f Binary files /dev/null and b/resources/animated sprite/Skeleton Sprite/Skeleton Walk.png differ diff --git a/resources/animated sprite/Skeleton Sprite/Skeleton Walk.png.import b/resources/animated sprite/Skeleton Sprite/Skeleton Walk.png.import new file mode 100644 index 0000000..668a62d --- /dev/null +++ b/resources/animated sprite/Skeleton Sprite/Skeleton Walk.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b0dqy1at078ct" +path="res://.godot/imported/Skeleton Walk.png-8ad85ceee01590d6218dedb5245e9634.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/animated sprite/Skeleton Sprite/Skeleton Walk.png" +dest_files=["res://.godot/imported/Skeleton Walk.png-8ad85ceee01590d6218dedb5245e9634.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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 diff --git a/sources.yaml b/sources.yaml index 3a3a91a..9c06fc8 100644 --- a/sources.yaml +++ b/sources.yaml @@ -5,3 +5,5 @@ commonUrl: https://freesound.org/people/SilverDubloons/sounds/817587/ - fileName: resources/textures/beanstalk-dark.webp commonUrl: https://www.toptal.com/designers/subtlepatterns/beanstalk-dark-pattern/ +- fileName: resources/animated sprite/Skeleton Sprite + commonUrl: https://jesse-m.itch.io/skeleton-pack diff --git a/ui/PressAnyKeyScreen.tscn b/ui/PressAnyKeyScreen.tscn index 335cd83..81b3b6d 100644 --- a/ui/PressAnyKeyScreen.tscn +++ b/ui/PressAnyKeyScreen.tscn @@ -1,6 +1,92 @@ -[gd_scene load_steps=2 format=3 uid="uid://gbe1jarrwqsi"] +[gd_scene load_steps=15 format=3 uid="uid://gbe1jarrwqsi"] [ext_resource type="Script" uid="uid://buak21ajgvevl" path="res://scripts/PressAnyKeyScreen.gd" id="1_0a4p2"] +[ext_resource type="Texture2D" uid="uid://bcr4bokw87m5n" path="res://resources/animated sprite/Skeleton Sprite/Skeleton Idle.png" id="2_rjjcb"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_l6pue"] +atlas = ExtResource("2_rjjcb") +region = Rect2(0, 0, 24, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3h5mc"] +atlas = ExtResource("2_rjjcb") +region = Rect2(24, 0, 24, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gqpp5"] +atlas = ExtResource("2_rjjcb") +region = Rect2(48, 0, 24, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ff5uo"] +atlas = ExtResource("2_rjjcb") +region = Rect2(72, 0, 24, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_e7oxa"] +atlas = ExtResource("2_rjjcb") +region = Rect2(96, 0, 24, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_urgkb"] +atlas = ExtResource("2_rjjcb") +region = Rect2(120, 0, 24, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xfg50"] +atlas = ExtResource("2_rjjcb") +region = Rect2(144, 0, 24, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_sy0v8"] +atlas = ExtResource("2_rjjcb") +region = Rect2(168, 0, 24, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kfv8w"] +atlas = ExtResource("2_rjjcb") +region = Rect2(192, 0, 24, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_lvvje"] +atlas = ExtResource("2_rjjcb") +region = Rect2(216, 0, 24, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vvh7w"] +atlas = ExtResource("2_rjjcb") +region = Rect2(240, 0, 24, 32) + +[sub_resource type="SpriteFrames" id="SpriteFrames_wtrhp"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_l6pue") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3h5mc") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_gqpp5") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ff5uo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_e7oxa") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_urgkb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xfg50") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_sy0v8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kfv8w") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_lvvje") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vvh7w") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] [node name="PressAnyKeyScreen" type="Control" groups=["localizable"]] layout_mode = 3 @@ -35,6 +121,18 @@ grow_horizontal = 2 grow_vertical = 2 metadata/_edit_use_anchors_ = true +[node name="AspectRatioContainer" type="AspectRatioContainer" parent="PressKeyContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 0 +alignment_horizontal = 0 +alignment_vertical = 0 + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="PressKeyContainer/AspectRatioContainer"] +sprite_frames = SubResource("SpriteFrames_wtrhp") +autoplay = "default" +offset = Vector2(0, -30) + [node name="TitleLabel" type="Label" parent="PressKeyContainer"] layout_mode = 2 text = "Skelly"