new player art

This commit is contained in:
Lilith Schier 2026-06-19 00:35:46 +02:00
parent 562a33bd8e
commit f774f8e8a4
65 changed files with 2953 additions and 276 deletions

View file

@ -1,32 +1,20 @@
[gd_scene format=3 uid="uid://bikcpm0fyl4pd"]
[ext_resource type="Texture2D" uid="uid://jdmsv25yp25v" path="res://src/player/attack.aseprite" id="1_3il12"]
[ext_resource type="Script" uid="uid://0n1gv56pcc74" path="res://src/player/SlashProjectile.cs" id="1_bi0sp"]
[ext_resource type="PackedScene" uid="uid://cva3ecq7vp3a4" path="res://src/combat/hitbox.tscn" id="2_bi0sp"]
[sub_resource type="Animation" id="Animation_3il12"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Attack:frame")
tracks/0/path = NodePath("Hitbox/CollisionShape2D:disabled")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Hitbox/CollisionShape2D:disabled")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
@ -34,25 +22,13 @@ tracks/1/keys = {
resource_name = "attack"
length = 0.4
step = 0.1
tracks/0/type = "value"
tracks/0/type = "method"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Attack:frame")
tracks/0/path = NodePath(".")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [0, 1, 2]
}
tracks/1/type = "method"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.4),
"transitions": PackedFloat32Array(1),
"values": [{
@ -60,13 +36,13 @@ tracks/1/keys = {
"method": &"OnAttackFinished"
}]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Hitbox/CollisionShape2D:disabled")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Hitbox/CollisionShape2D:disabled")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.1, 0.3),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
@ -79,30 +55,23 @@ _data = {
&"attack": SubResource("Animation_eb3da")
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_u7cw4"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qydbd"]
size = Vector2(32, 10)
[node name="SlashProjectile" type="Node2D" unique_id=541992074]
script = ExtResource("1_bi0sp")
[node name="Attack" type="Sprite2D" parent="." unique_id=30274790]
position = Vector2(16, -3)
texture = ExtResource("1_3il12")
hframes = 3
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1896907748]
unique_name_in_owner = true
libraries/ = SubResource("AnimationLibrary_12t1i")
autoplay = &"attack"
[node name="Hitbox" type="Area2D" parent="." unique_id=133086557]
collision_layer = 8
collision_mask = 4
[node name="Hitbox" parent="." unique_id=1918418417 instance=ExtResource("2_bi0sp")]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox" unique_id=1668475985]
position = Vector2(21, -5)
shape = SubResource("RectangleShape2D_u7cw4")
disabled = true
debug_color = Color(0.99430805, 0, 0.2314094, 0.41960785)
[node name="CollisionShape2D" parent="Hitbox" index="0" unique_id=2048987579]
position = Vector2(23, -7)
shape = SubResource("RectangleShape2D_qydbd")
[connection signal="body_entered" from="Hitbox" to="." method="OnHitboxBodyEntered"]
[editable path="Hitbox"]