1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00
Files
Dog-Lynx-And-HCN/components/Scenes/World.tscn
T
fallingshrimp da29d4d33d refactor(场景): 移除shan碰撞体并调整shan2碰撞体坐标
移除不再需要的shan碰撞体多边形,并更新shan2碰撞体的顶点坐标以匹配新的地形需求
2025-08-29 18:44:50 +08:00

112 lines
3.6 KiB
Plaintext

[gd_scene load_steps=11 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://dk7u1x1e8ptj7" path="res://resources/maps/Desert.png" id="4_04do5"]
[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 = 126.89
[sub_resource type="CircleShape2D" id="CircleShape2D_4y8st"]
radius = 46.1736
[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"]]
[node name="background" type="Sprite2D" parent="map"]
z_index = -100
scale = Vector2(5, 5)
texture = ExtResource("4_04do5")
[node name="xrz1" type="CollisionShape2D" parent="map"]
position = Vector2(-1827, 575)
shape = SubResource("CircleShape2D_4hkht")
[node name="xrz2" type="CollisionShape2D" parent="map"]
position = Vector2(251, 118)
shape = SubResource("CircleShape2D_4y8st")
[node name="shan2" type="CollisionPolygon2D" parent="map"]
polygon = PackedVector2Array(-2427, -357, -2419, 1803, 2429, 1825, 2391, -266, 2731, -266, 2723, 2241, -3318, 2158, -2797, -2582, 2959, -2528, 2753, -292, 2570, -225, 2401, -267, 2441, -1834, -2438, -1792)
[node name="rooster" parent="." groups=["players"] instance=ExtResource("3_5ui6q")]