2025-08-26 10:17:38 +08:00
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://bm7ymrri6pykb"]
|
2025-08-26 09:24:09 +08:00
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_e5pl8"]
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/Contents/Characters/Rooster.gd" id="2_oqdqd"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://fn8qx72clh38" path="res://resources/characters/cock/rooster-a.svg" id="2_q0j6j"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ci2ik43ce82uy" path="res://resources/characters/cock/rooster-b.svg" id="3_b0fgx"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_4v2ol"]
|
|
|
|
|
animations = [{
|
|
|
|
|
"frames": [{
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("2_q0j6j")
|
2025-08-26 10:55:39 +08:00
|
|
|
}],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": &"idle",
|
2025-08-26 10:58:24 +08:00
|
|
|
"speed": 1.0
|
2025-08-26 10:55:39 +08:00
|
|
|
}, {
|
|
|
|
|
"frames": [{
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("2_q0j6j")
|
2025-08-26 09:24:09 +08:00
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("3_b0fgx")
|
|
|
|
|
}],
|
|
|
|
|
"loop": true,
|
2025-08-26 10:55:39 +08:00
|
|
|
"name": &"walk",
|
2025-08-26 10:58:24 +08:00
|
|
|
"speed": 3.0
|
2025-08-26 09:24:09 +08:00
|
|
|
}]
|
|
|
|
|
|
2025-08-26 10:17:38 +08:00
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_h1v0q"]
|
|
|
|
|
radius = 41.0122
|
|
|
|
|
|
2025-08-26 09:24:09 +08:00
|
|
|
[node name="Rooster" instance=ExtResource("1_e5pl8")]
|
|
|
|
|
script = ExtResource("2_oqdqd")
|
|
|
|
|
|
|
|
|
|
[node name="texture" parent="." index="0"]
|
2025-08-26 10:17:38 +08:00
|
|
|
position = Vector2(0, -70)
|
2025-08-26 09:24:09 +08:00
|
|
|
sprite_frames = SubResource("SpriteFrames_4v2ol")
|
2025-08-26 10:58:24 +08:00
|
|
|
animation = &"walk"
|
2025-08-26 09:24:09 +08:00
|
|
|
|
2025-08-26 10:17:38 +08:00
|
|
|
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
|
|
|
|
position = Vector2(12, 16)
|
|
|
|
|
shape = SubResource("CircleShape2D_h1v0q")
|
|
|
|
|
|
2025-08-26 12:21:09 +08:00
|
|
|
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
|
|
|
|
position = Vector2(54, -45)
|
|
|
|
|
|
2025-08-26 10:55:39 +08:00
|
|
|
[node name="statebar" parent="." index="2" node_paths=PackedStringArray("entity")]
|
2025-08-26 10:17:38 +08:00
|
|
|
position = Vector2(0, -151)
|
2025-08-26 10:55:39 +08:00
|
|
|
entity = NodePath("..")
|