mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
d4501ae45d
refactor: 重构子弹生成逻辑,支持分裂和折射效果 fix: 修复掉落物拾取范围和碰撞检测问题 style: 优化UI显示,添加武器品质和类型标签 docs: 更新字段描述,调整部分饲料名称和分类 perf: 优化数学工具函数,添加随机数处理工具 test: 调整波次生成逻辑,添加新敌人类型 build: 添加新资源文件和相关导入配置
106 lines
3.4 KiB
Plaintext
106 lines
3.4 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://dmxi1ikn6avig"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/Tools/WorldManager.gd" id="1_lxsxj"]
|
|
[ext_resource type="PackedScene" uid="uid://dfwg750a47ggx" path="res://components/Scenes/UI.tscn" id="2_04cdd"]
|
|
[ext_resource type="PackedScene" uid="uid://bm7ymrri6pykb" path="res://components/Characters/Rooster.tscn" id="3_5ui6q"]
|
|
[ext_resource type="Texture2D" uid="uid://c33c8mtm4x3e3" path="res://resources/maps/Galaxy.png" id="4_oy4jj"]
|
|
[ext_resource type="Script" path="res://scripts/Tools/CameraManager.gd" id="5_mk7bv"]
|
|
|
|
[sub_resource type="Animation" id="Animation_ykpvi"]
|
|
length = 0.001
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:zoom:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:zoom:y")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_kii8h"]
|
|
resource_name = "bigLaser"
|
|
length = 5.0
|
|
step = 0.1
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:zoom:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0, 0),
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1.25, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 0.5, 3)
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:zoom:y")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0, 0),
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1.25, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 0.5, 3)
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_44ixa"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_ykpvi"),
|
|
"bigLaser": SubResource("Animation_kii8h")
|
|
}
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_4hkht"]
|
|
radius = 57.3149
|
|
|
|
[node name="world" type="Node2D"]
|
|
y_sort_enabled = true
|
|
script = ExtResource("1_lxsxj")
|
|
metadata/_edit_vertical_guides_ = [-1.0, 57.0]
|
|
|
|
[node name="UI" parent="." instance=ExtResource("2_04cdd")]
|
|
|
|
[node name="camera" type="Camera2D" parent="."]
|
|
process_mode = 3
|
|
offset = Vector2(0, -80)
|
|
process_callback = 0
|
|
position_smoothing_enabled = true
|
|
script = ExtResource("5_mk7bv")
|
|
|
|
[node name="animator" type="AnimationPlayer" parent="camera"]
|
|
unique_name_in_owner = true
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_44ixa")
|
|
}
|
|
|
|
[node name="map" type="StaticBody2D" parent="." groups=["map"]]
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="background" type="Sprite2D" parent="map"]
|
|
z_index = -100
|
|
scale = Vector2(5, 5)
|
|
texture = ExtResource("4_oy4jj")
|
|
|
|
[node name="star1" type="CollisionShape2D" parent="map"]
|
|
position = Vector2(-2057, 1298)
|
|
shape = SubResource("CircleShape2D_4hkht")
|
|
|
|
[node name="shan2" type="CollisionPolygon2D" parent="map"]
|
|
polygon = PackedVector2Array(-2419, 1803, 2429, 1825, 2392, -366, 2867, -318, 2723, 2241, -2879, 2193, -2797, -2582, 2959, -2528, 2858, -347, 2420, -337, 2441, -1834, -2438, -1792)
|
|
|
|
[node name="rooster" parent="." groups=["players"] instance=ExtResource("3_5ui6q")]
|