mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
1a918a7a14
- Updated WaterBottle scene to change field values and costs, and modified avatar texture and display name. - Removed unused pencil SVG and its import files. - Updated Chomp sound effect with a new binary file. - Modified Diamond bullet behavior to improve tracing logic. - Increased rotation speed for Laser bullet. - Adjusted Chick and Hen character attack methods to generate bullets without returning prematurely. - Updated Rooster character to use PurpleCrystal bullet instead of Pencil. - Enhanced BulletBase with new properties for energy consumption and animation control. - Adjusted blend position interpolation in EntityBase for smoother movement. - Added new Star bullet with its scene and script, including animation setup. - Updated SVG and import files for new Star bullet graphics.
56 lines
1.7 KiB
Plaintext
56 lines
1.7 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://c8h1abpbe6cww"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_twxai"]
|
|
[ext_resource type="Script" path="res://scripts/Contents/Characters/Hen.gd" id="2_8u5a0"]
|
|
[ext_resource type="Texture2D" uid="uid://b5m0fpg3ewfum" path="res://resources/characters/hen/hen-a.svg" id="2_k7xxq"]
|
|
[ext_resource type="Texture2D" uid="uid://3o0oqobnr3b2" path="res://resources/characters/hen/hen-b.svg" id="3_cpiwr"]
|
|
[ext_resource type="AudioStream" uid="uid://cxhsnyjhrnicl" path="res://resources/sounds/effect/Glug.wav" id="3_ojyt7"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_xwexj"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_k7xxq")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_k7xxq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_cpiwr")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_0uubu"]
|
|
radius = 40.0
|
|
|
|
[node name="Hen" instance=ExtResource("1_twxai")]
|
|
script = ExtResource("2_8u5a0")
|
|
cooldownUnit = 1000.0
|
|
drops = Array[int]([0, 1])
|
|
dropCounts = Array[Vector2]([Vector2(4, 8), Vector2(2, 6)])
|
|
energy = 1000.0
|
|
|
|
[node name="hurt" parent="sounds" index="3"]
|
|
stream = ExtResource("3_ojyt7")
|
|
|
|
[node name="texture" parent="." index="1"]
|
|
sprite_frames = SubResource("SpriteFrames_xwexj")
|
|
animation = &"walk"
|
|
|
|
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
|
shape = SubResource("CircleShape2D_0uubu")
|
|
|
|
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
|
|
|
[node name="statebar" parent="." index="2" node_paths=PackedStringArray("entity")]
|
|
position = Vector2(0, -114)
|
|
entity = NodePath("..")
|