2025-09-24 22:08:01 +08:00
|
|
|
[gd_scene load_steps=17 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"]
|
2025-08-26 15:52:54 +08:00
|
|
|
[ext_resource type="AudioStream" uid="uid://dclinyhu256xi" path="res://resources/sounds/effect/Low Whoosh.mp3" id="3_4syso"]
|
2025-08-26 09:24:09 +08:00
|
|
|
[ext_resource type="Texture2D" uid="uid://ci2ik43ce82uy" path="res://resources/characters/cock/rooster-b.svg" id="3_b0fgx"]
|
2025-09-24 22:08:01 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://b2qhes4apaxsj" path="res://components/Weapons/NuclearBomb.tscn" id="3_eikw3"]
|
2025-09-21 16:18:24 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://c0n3igy4hucrg" path="res://components/Weapons/PurpleCrystal.tscn" id="3_ms5sq"]
|
2025-09-24 21:58:04 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://frwt0fgrpskb" path="res://components/Weapons/Meowmere.tscn" id="3_pbssk"]
|
2025-08-26 15:52:54 +08:00
|
|
|
[ext_resource type="AudioStream" uid="uid://cdrevrq7n6yqa" path="res://resources/sounds/effect/Boing.mp3" id="4_66s6c"]
|
2025-08-27 10:23:57 +08:00
|
|
|
[ext_resource type="AudioStream" uid="uid://benyec5bqni0b" path="res://resources/sounds/effect/Chomp.wav" id="4_k0yme"]
|
2025-08-26 15:52:54 +08:00
|
|
|
[ext_resource type="AudioStream" uid="uid://dmxh3bpk8vyy5" path="res://resources/sounds/effect/Coin.mp3" id="5_xnbhq"]
|
2025-09-21 16:18:24 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bb1uh8k7gkhr7" path="res://components/Weapons/VectorStar.tscn" id="6_fvy5n"]
|
2025-08-27 16:39:07 +08:00
|
|
|
[ext_resource type="AudioStream" uid="uid://4wuuf1osk0yv" path="res://resources/sounds/effect/Low Boing.wav" id="6_m5px1"]
|
2025-08-27 21:14:06 +08:00
|
|
|
[ext_resource type="AudioStream" uid="uid://b10u6iir6uvqn" path="res://resources/sounds/effect/BigLaser.wav" id="8_7dhim"]
|
2025-08-26 09:24:09 +08:00
|
|
|
|
|
|
|
|
[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")
|
2025-09-07 13:39:50 +08:00
|
|
|
displayName = "公鸡"
|
2025-09-06 07:40:21 +08:00
|
|
|
|
|
|
|
|
[node name="weaponStore" parent="." index="0"]
|
|
|
|
|
process_mode = 4
|
|
|
|
|
|
2025-09-24 22:08:01 +08:00
|
|
|
[node name="NuclearBomb" parent="weaponStore" index="0" instance=ExtResource("3_eikw3")]
|
|
|
|
|
offset_bottom = 352.0
|
|
|
|
|
|
|
|
|
|
[node name="Meowmere" parent="weaponStore" index="1" instance=ExtResource("3_pbssk")]
|
2025-09-24 21:58:04 +08:00
|
|
|
offset_bottom = 374.0
|
2025-09-21 22:20:53 +08:00
|
|
|
|
2025-09-24 22:08:01 +08:00
|
|
|
[node name="PurpleCrystal" parent="weaponStore" index="2" instance=ExtResource("3_ms5sq")]
|
2025-09-21 15:00:22 +08:00
|
|
|
debugRebuild = false
|
|
|
|
|
|
2025-09-24 22:08:01 +08:00
|
|
|
[node name="VectorStar" parent="weaponStore" index="3" instance=ExtResource("6_fvy5n")]
|
2025-09-07 09:25:51 +08:00
|
|
|
debugRebuild = false
|
2025-09-06 12:04:15 +08:00
|
|
|
|
2025-08-26 17:28:20 +08:00
|
|
|
[node name="sprint" parent="sounds" index="0"]
|
2025-08-26 15:52:54 +08:00
|
|
|
stream = ExtResource("4_66s6c")
|
|
|
|
|
|
2025-08-27 10:23:57 +08:00
|
|
|
[node name="heal" parent="sounds" index="1"]
|
|
|
|
|
stream = ExtResource("4_k0yme")
|
|
|
|
|
|
|
|
|
|
[node name="miss" parent="sounds" index="2"]
|
2025-08-26 15:52:54 +08:00
|
|
|
stream = ExtResource("5_xnbhq")
|
|
|
|
|
|
2025-08-27 10:23:57 +08:00
|
|
|
[node name="hurt" parent="sounds" index="3"]
|
2025-08-27 16:39:07 +08:00
|
|
|
stream = ExtResource("6_m5px1")
|
2025-08-26 15:52:54 +08:00
|
|
|
|
2025-08-27 19:59:05 +08:00
|
|
|
[node name="attack1" type="AudioStreamPlayer2D" parent="sounds" index="5"]
|
2025-08-27 21:14:06 +08:00
|
|
|
stream = ExtResource("8_7dhim")
|
2025-08-27 19:59:05 +08:00
|
|
|
|
2025-09-06 07:40:21 +08:00
|
|
|
[node name="attack0" parent="sounds" index="6"]
|
|
|
|
|
stream = ExtResource("3_4syso")
|
|
|
|
|
|
|
|
|
|
[node name="texture" parent="." index="2"]
|
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"]
|
2025-08-26 17:28:20 +08:00
|
|
|
position = Vector2(0, 30)
|
2025-08-26 10:17:38 +08:00
|
|
|
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-09-06 07:40:21 +08:00
|
|
|
[node name="statebar" parent="." index="3" 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("..")
|