diff --git a/art/20261017-2016-40.7025006.mp4 b/art/20261017-2016-40.7025006.mp4 new file mode 100644 index 0000000..395ac89 Binary files /dev/null and b/art/20261017-2016-40.7025006.mp4 differ diff --git a/art/dash_glow.png b/art/dash_glow.png new file mode 100644 index 0000000..64b759c Binary files /dev/null and b/art/dash_glow.png differ diff --git a/art/dash_glow.png.import b/art/dash_glow.png.import new file mode 100644 index 0000000..57ac35c --- /dev/null +++ b/art/dash_glow.png.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cn31x2l44je2t" +path="res://.godot/imported/dash_glow.png-492cf2d27c2676129c4accfbc72d7446.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://art/dash_glow.png" +dest_files=["res://.godot/imported/dash_glow.png-492cf2d27c2676129c4accfbc72d7446.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/high_quality_mode=0 +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 +mipmaps/preserve_alpha_test_coverage=false +mipmaps/alpha_test_threshold=0.5 +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 diff --git a/art/dash_particle.png b/art/dash_particle.png new file mode 100644 index 0000000..7453880 Binary files /dev/null and b/art/dash_particle.png differ diff --git a/art/dash_particle.png.import b/art/dash_particle.png.import new file mode 100644 index 0000000..7a3c8b1 --- /dev/null +++ b/art/dash_particle.png.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d1tj8sw2hiwgw" +path="res://.godot/imported/dash_particle.png-d6c193ce1e36eb639b560920aac309eb.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://art/dash_particle.png" +dest_files=["res://.godot/imported/dash_particle.png-d6c193ce1e36eb639b560920aac309eb.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/high_quality_mode=0 +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 +mipmaps/preserve_alpha_test_coverage=false +mipmaps/alpha_test_threshold=0.5 +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 diff --git a/art/idle.gif b/art/idle.gif new file mode 100644 index 0000000..54940b7 Binary files /dev/null and b/art/idle.gif differ diff --git a/art/idle_large.gif b/art/idle_large.gif new file mode 100644 index 0000000..10b3391 Binary files /dev/null and b/art/idle_large.gif differ diff --git a/art/jump_glow.png b/art/jump_glow.png new file mode 100644 index 0000000..64b759c Binary files /dev/null and b/art/jump_glow.png differ diff --git a/art/jump_glow.png.import b/art/jump_glow.png.import new file mode 100644 index 0000000..7838bed --- /dev/null +++ b/art/jump_glow.png.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://biscdhn8jh8ha" +path="res://.godot/imported/jump_glow.png-4468c089e5fb17f6d2335340b5ebb4ec.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://art/jump_glow.png" +dest_files=["res://.godot/imported/jump_glow.png-4468c089e5fb17f6d2335340b5ebb4ec.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/high_quality_mode=0 +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 +mipmaps/preserve_alpha_test_coverage=false +mipmaps/alpha_test_threshold=0.5 +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 diff --git a/art/jump_particle.png b/art/jump_particle.png new file mode 100644 index 0000000..7453880 Binary files /dev/null and b/art/jump_particle.png differ diff --git a/art/jump_particle.png.import b/art/jump_particle.png.import new file mode 100644 index 0000000..54cf266 --- /dev/null +++ b/art/jump_particle.png.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://deacp021ytuew" +path="res://.godot/imported/jump_particle.png-271eec97cc5ff0bdfe28a8f1af80f6fe.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://art/jump_particle.png" +dest_files=["res://.godot/imported/jump_particle.png-271eec97cc5ff0bdfe28a8f1af80f6fe.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/high_quality_mode=0 +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 +mipmaps/preserve_alpha_test_coverage=false +mipmaps/alpha_test_threshold=0.5 +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 diff --git a/art/player/idle/frame1.png b/art/player/idle/frame1.png index 88153af..86e5b5f 100644 Binary files a/art/player/idle/frame1.png and b/art/player/idle/frame1.png differ diff --git a/art/player/idle/frame2.png b/art/player/idle/frame2.png index c9c1cbb..1b0665e 100644 Binary files a/art/player/idle/frame2.png and b/art/player/idle/frame2.png differ diff --git a/art/player/running/frame3.png b/art/player/running/frame3.png index dc3121a..21a974e 100644 Binary files a/art/player/running/frame3.png and b/art/player/running/frame3.png differ diff --git a/art/player/running/frame4.png b/art/player/running/frame4.png index b83333e..86cf029 100644 Binary files a/art/player/running/frame4.png and b/art/player/running/frame4.png differ diff --git a/player_2d.gd b/player_2d.gd index c2bf67a..eba2422 100644 --- a/player_2d.gd +++ b/player_2d.gd @@ -26,6 +26,7 @@ func refresh_dash(new_dashes): dashes = new_dashes else: dashes = 1 + func refresh_jump(new_jumps): if new_jumps: diff --git a/player_2d.tscn b/player_2d.tscn index f06d60e..8579aac 100644 --- a/player_2d.tscn +++ b/player_2d.tscn @@ -13,9 +13,13 @@ [ext_resource type="Texture2D" uid="uid://du5i0tg6u1lal" path="res://art/player/crystal3.png" id="8_ukfft"] [ext_resource type="Texture2D" uid="uid://bko8dvawpul3c" path="res://art/player/crystal4.png" id="9_ur4nw"] [ext_resource type="Texture2D" uid="uid://ba4kjeulthw1g" path="res://art/hats/dunce1.png" id="10_5s8kx"] +[ext_resource type="Texture2D" uid="uid://cn31x2l44je2t" path="res://art/dash_glow.png" id="10_ur4nw"] +[ext_resource type="Texture2D" uid="uid://biscdhn8jh8ha" path="res://art/jump_glow.png" id="11_3lee2"] [ext_resource type="Texture2D" uid="uid://cp1v5uhvbfws6" path="res://art/hats/dunce2.png" id="11_4apft"] [ext_resource type="Texture2D" uid="uid://dgq8el2qldlui" path="res://art/player/crystal.png" id="12_4apft"] [ext_resource type="AudioStream" uid="uid://bkiipooikacjj" path="res://sound/patience.wav" id="12_5s8kx"] +[ext_resource type="Texture2D" uid="uid://d1tj8sw2hiwgw" path="res://art/dash_particle.png" id="16_ur4nw"] +[ext_resource type="Texture2D" uid="uid://deacp021ytuew" path="res://art/jump_particle.png" id="18_fat58"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_pmt5n"] shader = ExtResource("3_gt2ls") @@ -23,26 +27,6 @@ shader = ExtResource("3_gt2ls") [sub_resource type="QuadMesh" id="QuadMesh_nj6as"] size = Vector2(1280, 720) -[sub_resource type="SpriteFrames" id="SpriteFrames_5s8kx"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": ExtResource("12_4apft") -}, { -"duration": 1.0, -"texture": ExtResource("7_oy4pt") -}, { -"duration": 1.0, -"texture": ExtResource("8_ukfft") -}, { -"duration": 1.0, -"texture": ExtResource("9_ur4nw") -}], -"loop": 1, -"name": &"idle", -"speed": 5.0 -}] - [sub_resource type="SpriteFrames" id="SpriteFrames_fvyjh"] animations = [{ "frames": [{ @@ -96,6 +80,26 @@ animations = [{ "speed": 6.0 }] +[sub_resource type="SpriteFrames" id="SpriteFrames_5s8kx"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": ExtResource("12_4apft") +}, { +"duration": 1.0, +"texture": ExtResource("7_oy4pt") +}, { +"duration": 1.0, +"texture": ExtResource("8_ukfft") +}, { +"duration": 1.0, +"texture": ExtResource("9_ur4nw") +}], +"loop": 1, +"name": &"idle", +"speed": 5.0 +}] + [sub_resource type="RectangleShape2D" id="RectangleShape2D_fj7yv"] size = Vector2(10, 16) @@ -128,12 +132,6 @@ zoom = Vector2(1.75, 1.75) process_callback = 0 position_smoothing_enabled = true -[node name="Jetpack" type="AnimatedSprite2D" parent="." unique_id=657113514] -position = Vector2(0, 1) -sprite_frames = SubResource("SpriteFrames_5s8kx") -animation = &"idle" -autoplay = "idle" - [node name="Sprite2D" type="AnimatedSprite2D" parent="." unique_id=693422376] z_index = 1 texture_filter = 1 @@ -152,6 +150,34 @@ animation = &"running" autoplay = "idle" frame_progress = 0.8061519 +[node name="Jetpack" type="AnimatedSprite2D" parent="." unique_id=657113514] +position = Vector2(0, 1) +sprite_frames = SubResource("SpriteFrames_5s8kx") +animation = &"idle" +autoplay = "idle" + +[node name="DashIndicator" type="CPUParticles2D" parent="Jetpack" unique_id=1424397604] +position = Vector2(-11, -2) +texture = ExtResource("16_ur4nw") +lifetime = 0.09999999999999999 +gravity = Vector2(0, 0) + +[node name="DashIndicatorGlow" type="PointLight2D" parent="Jetpack/DashIndicator" unique_id=1334369973] +position = Vector2(-1, 0) +energy = 10.0 +texture = ExtResource("10_ur4nw") + +[node name="JumpIndicator" type="CPUParticles2D" parent="Jetpack" unique_id=1519478958] +position = Vector2(13, -2) +texture = ExtResource("18_fat58") +lifetime = 0.09999999999999999 +gravity = Vector2(0, 0) + +[node name="JumpIndicatorGlow" type="PointLight2D" parent="Jetpack/JumpIndicator" unique_id=920409859] +position = Vector2(-1, 0) +energy = 10.0 +texture = ExtResource("11_3lee2") + [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1294571021] shape = SubResource("RectangleShape2D_fj7yv") diff --git a/world.tscn b/world.tscn index 4a8a5d0..d9c861c 100644 --- a/world.tscn +++ b/world.tscn @@ -167,6 +167,7 @@ position = Vector2(250, 141) [node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1637221343] [node name="RichTextLabel2" type="RichTextLabel" parent="CanvasLayer" unique_id=1254950785] +visible = false anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 @@ -177,6 +178,7 @@ text = "FPS:" script = ExtResource("2_dwbse") [node name="RichTextLabel3" type="RichTextLabel" parent="CanvasLayer" unique_id=63830958] +visible = false anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0