feat: them skeletons man + reload after dancing
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 5s
Create tag and build when new code gets to main / Export (push) Successful in 2m12s

This commit is contained in:
2025-08-02 23:57:02 +02:00
parent eda35b4e9b
commit 3e0f1c99d5
9 changed files with 851 additions and 9 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=63 format=3 uid="uid://yvp44oauis4n"]
[gd_scene load_steps=65 format=3 uid="uid://yvp44oauis4n"]
[ext_resource type="Script" uid="uid://c1fqj3lba7wik" path="res://player/player.gd" id="1_yw30f"]
[ext_resource type="Texture2D" uid="uid://dxsbbcagqkiid" path="res://player/assets/RunArmeEpee.png" id="2_hg6s5"]
@ -10,6 +10,7 @@
[ext_resource type="Texture2D" uid="uid://dsxvqsh3umw01" path="res://player/assets/RunCycle.png" id="5_boad6"]
[ext_resource type="PackedScene" uid="uid://djwoetcyvvofc" path="res://damageable/damageable.tscn" id="5_g6k8r"]
[ext_resource type="Shape2D" uid="uid://6rhdwj5jxbxn" path="res://player/player_collision.tres" id="5_qjkh3"]
[ext_resource type="PackedScene" uid="uid://7sqwi3lygb1u" path="res://damageable/hitbox.tscn" id="11_2ieo8"]
[sub_resource type="AtlasTexture" id="AtlasTexture_tqiix"]
atlas = ExtResource("3_hg6s5")
@ -234,7 +235,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_a1u5o")
}],
"loop": true,
"loop": false,
"name": &"hit",
"speed": 12.0
}, {
@ -460,6 +461,8 @@ animations = [{
"speed": 14.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_ebec5"]
[node name="Player" type="CharacterBody2D"]
collision_layer = 3
script = ExtResource("1_yw30f")
@ -475,7 +478,8 @@ position = Vector2(0, -16)
sprite_frames = SubResource("SpriteFrames_jfgyi")
animation = &"hit"
autoplay = "idle"
frame_progress = 0.277569
frame = 5
frame_progress = 1.0
[node name="Shield" type="AnimatedSprite2D" parent="."]
visible = false
@ -497,3 +501,18 @@ shape = ExtResource("5_qjkh3")
[node name="Damageable" parent="." instance=ExtResource("5_g6k8r")]
hitback_velocity = 400.0
[node name="Hitting" type="Timer" parent="."]
wait_time = 0.5
one_shot = true
[node name="Hitbox" parent="." instance=ExtResource("11_2ieo8")]
monitoring = false
monitorable = false
damage = 10
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
position = Vector2(16, -10)
shape = SubResource("CircleShape2D_ebec5")
[connection signal="timeout" from="Hitting" to="." method="_on_hitting_timeout"]