mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-08 12:47:13 +08:00
feat: 重构角色和子弹系统,添加伤害标签和Boss状态条
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://b0ncrvm8u4pox"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://b0ncrvm8u4pox"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_goqmy"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Characters/Chick.gd" id="2_r6bub"]
|
||||
[ext_resource type="Texture2D" uid="uid://7pkplcqqxvnp" path="res://resources/characters/chick/chick-a.svg" id="2_syddq"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj5dvqb8gsedr" path="res://resources/characters/chick/chick-b.svg" id="3_064jv"]
|
||||
|
||||
@@ -26,11 +27,20 @@ animations = [{
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rn84j"]
|
||||
size = Vector2(19.5, 14)
|
||||
|
||||
[node name="Chick" instance=ExtResource("1_goqmy")]
|
||||
script = ExtResource("2_r6bub")
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
position = Vector2(0, -37)
|
||||
sprite_frames = SubResource("SpriteFrames_xji3d")
|
||||
animation = &"walk"
|
||||
|
||||
[node name="movebox" parent="." index="1"]
|
||||
shape = SubResource("RectangleShape2D_rn84j")
|
||||
|
||||
[node name="statebar" parent="." index="2" node_paths=PackedStringArray("entity")]
|
||||
position = Vector2(0, -82)
|
||||
entity = NodePath("..")
|
||||
|
||||
@@ -32,7 +32,6 @@ radius = 41.0122
|
||||
|
||||
[node name="Rooster" instance=ExtResource("1_e5pl8")]
|
||||
script = ExtResource("2_oqdqd")
|
||||
cooldownUnit = 200.0
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
position = Vector2(0, -70)
|
||||
|
||||
Reference in New Issue
Block a user