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

@ -5,11 +5,9 @@
[ext_resource type="Script" uid="uid://b4k42r866lkut" path="res://src/combat/Hitbox.cs" id="3_bu42x"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8bh2b"]
size = Vector2(22, 4)
size = Vector2(34, 2)
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_feb5d"]
radius = 5.0
height = 14.0
[sub_resource type="CircleShape2D" id="CircleShape2D_lyo8d"]
radius = 60.0
@ -50,18 +48,6 @@ tracks/1/keys = {
"update": 1,
"values": [0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Body/StabHitbox/CollisionShape2D:disabled")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
[sub_resource type="Animation" id="Animation_ba6cv"]
resource_name = "idle"
@ -122,8 +108,8 @@ tracks/1/keys = {
[sub_resource type="Animation" id="Animation_3ly8m"]
resource_name = "stab"
length = 0.9
step = 0.1
length = 0.8333333
step = 0.016666668
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
@ -143,10 +129,10 @@ tracks/1/path = NodePath("Body:frame")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.1, 0.5),
"transitions": PackedFloat32Array(1, 1, 1),
"times": PackedFloat32Array(0, 0.1, 0.5, 0.55, 0.6333333),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 1,
"values": [0, 1, 2]
"values": [0, 1, 2, 3, 4]
}
tracks/2/type = "method"
tracks/2/imported = false
@ -155,24 +141,29 @@ tracks/2/path = NodePath(".")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.9),
"times": PackedFloat32Array(0.8333333),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"OnAttackFinished"
}]
}
tracks/3/type = "value"
tracks/3/type = "method"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Body/StabHitbox/CollisionShape2D:disabled")
tracks/3/path = NodePath("Body/StabHitbox")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 0.5, 0.7),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [true, false, true]
"times": PackedFloat32Array(0.5, 0.6333333),
"transitions": PackedFloat32Array(1, 1),
"values": [{
"args": [],
"method": &"StartAttack"
}, {
"args": [],
"method": &"StopAttack"
}]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1i6dk"]
@ -186,10 +177,12 @@ _data = {
[node name="Birb" type="CharacterBody2D" unique_id=428810294]
collision_layer = 4
script = ExtResource("1_lyo8d")
AttackDistance = 45.0
metadata/_edit_group_ = true
[node name="Body" type="AnimatedSprite2D" parent="." unique_id=581143480]
unique_name_in_owner = true
position = Vector2(7, -20)
sprite_frames = ExtResource("2_ba6cv")
animation = &"idle"
offset = Vector2(9, -4)
@ -201,16 +194,17 @@ collision_mask = 2
script = ExtResource("3_bu42x")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Body/StabHitbox" unique_id=1331922714]
position = Vector2(11, 2)
position = Vector2(19, 9)
shape = SubResource("RectangleShape2D_8bh2b")
disabled = true
debug_color = Color(0.8758822, 0.3187781, 0.34832907, 0.41960785)
debug_color = Color(0.99607843, 0, 0.23137255, 0.41960785)
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1744954023]
position = Vector2(0, 1)
position = Vector2(0, -15)
shape = SubResource("CapsuleShape2D_feb5d")
[node name="Detection" type="Area2D" parent="." unique_id=151830843]
visible = false
position = Vector2(0, -22)
collision_layer = 0
collision_mask = 2
monitorable = false
@ -220,12 +214,13 @@ shape = SubResource("CircleShape2D_lyo8d")
debug_color = Color(0, 0.6, 0.69803923, 0.16862746)
[node name="Chase" type="Area2D" parent="." unique_id=172000915]
visible = false
position = Vector2(0, -22)
collision_layer = 0
collision_mask = 2
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Chase" unique_id=567870323]
position = Vector2(-1, 0)
shape = SubResource("CircleShape2D_ba6cv")
debug_color = Color(0, 0.6, 0.69803923, 0)
@ -235,9 +230,9 @@ anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -10.0
offset_top = -12.0
offset_top = -35.0
offset_right = 10.0
offset_bottom = -10.0
offset_bottom = -33.0
grow_horizontal = 2
theme_override_styles/background = SubResource("StyleBoxFlat_lyo8d")
theme_override_styles/fill = SubResource("StyleBoxFlat_ba6cv")