mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
2a602b0be2
实现游戏模式选择功能,包括无尽波次、Boss Rush和割草模式 添加游戏模式与波次数据的映射关系 优化UI状态管理,新增selectingFeed状态控制UI元素显示 重构Starter面板布局,添加游戏模式选项 为EnergyBlock添加掉落物品配置
58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
[gd_scene format=3 uid="uid://b5bsvrtu8v2f7"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_n2ng1"]
|
|
[ext_resource type="Script" uid="uid://du30qanswie6y" path="res://scripts/Contents/Characters/EnergyBlock.gd" id="2_h3ykr"]
|
|
[ext_resource type="Texture2D" uid="uid://dwwpkn4q07ja2" path="res://icon.svg" id="3_v78o6"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_8do1r"]
|
|
animations = [{
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_v78o6"]
|
|
font_size = 40
|
|
font_color = Color(1, 0, 0, 1)
|
|
outline_size = 1
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8do1r"]
|
|
size = Vector2(112, 112)
|
|
|
|
[node name="EnergyBlock" unique_id=247617339 instance=ExtResource("1_n2ng1")]
|
|
script = ExtResource("2_h3ykr")
|
|
displayName = "稻草人"
|
|
drops = Array[int]([0, 1])
|
|
dropCounts = Array[Vector2]([Vector2(20, 40), Vector2(30, 60)])
|
|
appleCount = Vector2i(2, 4)
|
|
|
|
[node name="texture" parent="." index="3"]
|
|
sprite_frames = SubResource("SpriteFrames_8do1r")
|
|
animation = &"walk"
|
|
frame_progress = 0.31093365
|
|
|
|
[node name="staticBackground" parent="texture" index="0"]
|
|
position = Vector2(0, -1.0000038)
|
|
scale = Vector2(0.8514976, 0.8514976)
|
|
texture = ExtResource("3_v78o6")
|
|
|
|
[node name="Label" type="Label" parent="texture/staticBackground" index="0" unique_id=1072410685]
|
|
offset_left = -65.76649
|
|
offset_top = -29.360033
|
|
offset_right = 68.23351
|
|
offset_bottom = 29.639967
|
|
text = "BOSS 1"
|
|
label_settings = SubResource("LabelSettings_v78o6")
|
|
|
|
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
|
shape = SubResource("RectangleShape2D_8do1r")
|
|
|
|
[node name="statebar" parent="." index="4"]
|
|
position = Vector2(0, -119)
|