1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 23:11:54 +08:00
Files
Dog-Lynx-And-HCN/components/Bullets/Star.tscn
T
fallingshrimp a572a77eda feat(游戏平衡): 调整敌人生成和子弹行为
- 将敌人数量增长逻辑移至GameRule并调整计算公式
- 修改鸡的攻击行为,子弹现在会朝向玩家发射
- 调整子弹伤害值和旋转动画
- 减少玩家初始苹果数量并增加敌人掉落苹果数量
- 修改BOSS出现波数为第8波
- 移除无用属性和优化代码结构
2025-08-28 07:45:50 +08:00

84 lines
2.1 KiB
Plaintext

[gd_scene load_steps=10 format=3 uid="uid://dm6viyjsje6yj"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_x6yf7"]
[ext_resource type="Texture2D" uid="uid://csdjmin6g22sw" path="res://resources/bullets/star/frames/star.svg" id="2_cke7d"]
[ext_resource type="Script" path="res://scripts/Contents/Bullets/Star.gd" id="2_y4b0l"]
[sub_resource type="SpriteFrames" id="SpriteFrames_t53gb"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_cke7d")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="Animation" id="Animation_cig5u"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [4.38234]
}
[sub_resource type="Animation" id="Animation_ynxlt"]
resource_name = "loop"
loop_mode = 1
step = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 6.28319]
}
[sub_resource type="Animation" id="Animation_kmogx"]
resource_name = "spawn"
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ls1ie"]
_data = {
"RESET": SubResource("Animation_cig5u"),
"loop": SubResource("Animation_ynxlt"),
"spawn": SubResource("Animation_kmogx")
}
[sub_resource type="CircleShape2D" id="CircleShape2D_tietk"]
radius = 19.2354
[node name="Star" instance=ExtResource("1_x6yf7")]
script = ExtResource("2_y4b0l")
fields = {
0: 10,
1: 1,
2: 0
}
lifeTime = 1000.0
autoLoopAnimation = true
[node name="texture" parent="." index="0"]
rotation = 4.38234
sprite_frames = SubResource("SpriteFrames_t53gb")
[node name="animator" parent="texture" index="0"]
libraries = {
"": SubResource("AnimationLibrary_ls1ie")
}
[node name="hitbox" parent="." index="1"]
shape = SubResource("CircleShape2D_tietk")