TowerDefense/Levels/world_1.tscn
2025-09-01 11:17:56 +02:00

118 lines
4.1 KiB
Text

[gd_scene load_steps=13 format=3 uid="uid://iqbfpj8uwgfg"]
[ext_resource type="Script" uid="uid://qqid42jkpkmv" path="res://Levels/world.gd" id="1_2lxla"]
[ext_resource type="Script" uid="uid://caf3yamufmhd4" path="res://Towers/Scripts/TowerManager.gd" id="2_8rc3q"]
[ext_resource type="PackedScene" uid="uid://gp46cl8euhyf" path="res://Levels/map_1.tscn" id="2_i3h8e"]
[ext_resource type="Texture2D" uid="uid://o83munu8dibp" path="res://Assets/Icones/kenney_game_icons_vector.svg" id="3_i3h8e"]
[ext_resource type="Script" uid="uid://tpon511km4al" path="res://Levels/Scripts/WaveManager.gd" id="4_fonyy"]
[ext_resource type="Resource" uid="uid://ob41fnhkjr3o" path="res://Levels/level_1.tres" id="5_o5evx"]
[ext_resource type="PackedScene" uid="uid://p6a6rb7sgeqd" path="res://UI/gui.tscn" id="6_dinfn"]
[sub_resource type="Animation" id="Animation_oyb16"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite3DSelection:offset")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, 0)]
}
[sub_resource type="Animation" id="Animation_ikoig"]
resource_name = "arrow_bobbing"
length = 1.5
loop_mode = 1
step = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite3DSelection:offset")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.8, 1.5),
"transitions": PackedFloat32Array(1, 0.4, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(0, 15), Vector2(0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_43wwi"]
_data = {
&"RESET": SubResource("Animation_oyb16"),
&"arrow_bobbing": SubResource("Animation_ikoig")
}
[sub_resource type="Curve3D" id="Curve3D_aqk2v"]
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 8.76428, -0.5, -5.50591, 0, 0, 0, 0, 0, 0, 0.588248, -0.5, -5.49523, 0, 0, 0, 0, 0, 0, 0.550111, -0.5, 0.529121, 0, 0, 0, 0, 0, 0, 7.542, -0.5, 0.51012),
"tilts": PackedFloat32Array(0, 0, 0, 0)
}
point_count = 4
[sub_resource type="Environment" id="Environment_036b0"]
background_mode = 1
background_color = Color(0.924338, 0.849272, 0.847318, 1)
sky_rotation = Vector3(0, 0, 0.785398)
tonemap_white = 0.3
volumetric_fog_density = 0.02
volumetric_fog_albedo = Color(1, 1, 2, 1)
volumetric_fog_emission = Color(0.169245, 0.169245, 0.169245, 1)
adjustment_enabled = true
adjustment_contrast = 1.3
adjustment_saturation = 1.2
[node name="World" type="Node3D"]
script = ExtResource("1_2lxla")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.998593, -0.0233153, 0.0476287, -0.00234758, 0.877843, 0.478943, -0.0529772, -0.478381, 0.876553, 6.97962, 3.51086, 4.45065)
[node name="Map1" parent="." instance=ExtResource("2_i3h8e")]
[node name="TowerManager" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.73017, 0.728414, 0)
script = ExtResource("2_8rc3q")
[node name="Sprite3DSelection" type="Sprite3D" parent="TowerManager"]
modulate = Color(0.966071, 0.695469, 0, 1)
pixel_size = 0.03
axis = 1
billboard = 2
alpha_cut = 1
texture = ExtResource("3_i3h8e")
hframes = 15
vframes = 7
frame = 44
region_rect = Rect2(703, 96, 21, 30)
[node name="AnimationPlayer" type="AnimationPlayer" parent="TowerManager"]
libraries = {
&"": SubResource("AnimationLibrary_43wwi")
}
[node name="WaveManager" type="Path3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
curve = SubResource("Curve3D_aqk2v")
script = ExtResource("4_fonyy")
level = ExtResource("5_o5evx")
[node name="TroopTimer" type="Timer" parent="WaveManager"]
one_shot = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_036b0")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.0532597, 0.998581, 0, -0.998581, 0.0532597, 0, 4, 6)
light_energy = 0.0
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="GUI" parent="CanvasLayer" instance=ExtResource("6_dinfn")]
[node name="Towers" type="Node3D" parent="."]