mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
11aee1f370
- 将相机偏移从offset改为constantOffset属性 - 添加鼠标位置对相机偏移的影响 - 为Rooster角色添加脚步粒子效果 - 调整红水晶武器的攻击力从40提升到60 - 移除调试相关的debugRebuild属性
109 lines
3.5 KiB
Plaintext
109 lines
3.5 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://dmxi1ikn6avig"]
|
|
|
|
[ext_resource type="Script" uid="uid://d2oyyyg0b4qqd" path="res://scripts/Tools/Managers/WorldManager.gd" id="1_lxsxj"]
|
|
[ext_resource type="PackedScene" uid="uid://dfwg750a47ggx" path="res://components/Scenes/UI.tscn" id="2_04cdd"]
|
|
[ext_resource type="Texture2D" uid="uid://c33c8mtm4x3e3" path="res://resources/maps/Galaxy.png" id="4_oy4jj"]
|
|
[ext_resource type="Script" uid="uid://bs45p8w83d4b4" path="res://scripts/Tools/Managers/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, 2, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 0.5, 2)
|
|
}
|
|
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, 2, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 0.5, 2)
|
|
}
|
|
|
|
[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
|
|
texture_filter = 1
|
|
script = ExtResource("1_lxsxj")
|
|
metadata/_edit_vertical_guides_ = [-1.0, 57.0]
|
|
|
|
[node name="spawner" type="MultiplayerSpawner" parent="."]
|
|
unique_name_in_owner = true
|
|
spawn_path = NodePath("..")
|
|
|
|
[node name="UI" parent="." instance=ExtResource("2_04cdd")]
|
|
|
|
[node name="camera" type="Camera2D" parent="."]
|
|
process_mode = 3
|
|
process_callback = 0
|
|
position_smoothing_enabled = true
|
|
script = ExtResource("5_mk7bv")
|
|
constantOffset = Vector2(0, -80)
|
|
|
|
[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")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[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)
|