TowerDefense/Levels/world_manager.tscn

112 lines
3.6 KiB
Text
Raw Normal View History

2025-09-06 04:01:33 +02:00
[gd_scene load_steps=11 format=3 uid="uid://bph5gpic1arod"]
2025-03-26 18:55:43 +01:00
2025-09-01 13:52:14 +02:00
[ext_resource type="Script" uid="uid://qqid42jkpkmv" path="res://Levels/Scripts/WorldManager.gd" id="1_tk0a6"]
2025-09-03 18:39:58 +02:00
[ext_resource type="Script" uid="uid://caf3yamufmhd4" path="res://Towers/TowerManager.gd" id="2_7pixp"]
2025-09-06 00:05:22 +02:00
[ext_resource type="Script" uid="uid://wdyg06i1eb6b" path="res://Levels/Scripts/Camera.gd" id="2_c1rgm"]
2025-09-01 13:52:14 +02:00
[ext_resource type="Texture2D" uid="uid://o83munu8dibp" path="res://Assets/Icones/kenney_game_icons_vector.svg" id="3_6dp1o"]
[ext_resource type="PackedScene" uid="uid://p6a6rb7sgeqd" path="res://UI/gui.tscn" id="6_ebgat"]
2025-03-26 18:55:43 +01:00
2025-09-06 04:01:33 +02:00
[sub_resource type="Curve" id="Curve_c1rgm"]
_limits = [-70.0, -20.0, 2.0, 10.0]
_data = [Vector2(2, -20), 0.0, -12.5, 0, 1, Vector2(6, -70), 0.0, 0.0, 0, 0, Vector2(10, -70), 0.0, 0.0, 1, 0]
point_count = 3
2025-08-28 18:59:03 +02:00
[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")
}
2025-03-26 18:55:43 +01:00
[sub_resource type="Environment" id="Environment_036b0"]
2025-08-21 18:52:45 +02:00
background_mode = 1
background_color = Color(0.924338, 0.849272, 0.847318, 1)
2025-08-18 15:11:33 +02:00
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
2025-03-26 18:55:43 +01:00
[node name="World" type="Node3D"]
2025-09-06 22:08:29 +02:00
process_mode = 1
2025-09-01 13:52:14 +02:00
script = ExtResource("1_tk0a6")
2025-03-26 18:55:43 +01:00
[node name="Camera3D" type="Camera3D" parent="."]
2025-09-06 22:08:29 +02:00
process_mode = 3
2025-09-06 00:05:22 +02:00
transform = Transform3D(1, 0, 0, 0, 0.5, 0.866026, 0, -0.866026, 0.5, 0, 10, 0)
script = ExtResource("2_c1rgm")
2025-09-06 04:01:33 +02:00
curve = SubResource("Curve_c1rgm")
2025-03-26 18:55:43 +01:00
[node name="TowerManager" type="Node3D" parent="."]
2025-09-06 22:08:29 +02:00
process_mode = 3
2025-08-28 18:59:03 +02:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.73017, 0.728414, 0)
2025-09-01 13:52:14 +02:00
script = ExtResource("2_7pixp")
2025-03-26 18:55:43 +01:00
[node name="Sprite3DSelection" type="Sprite3D" parent="TowerManager"]
2025-08-28 18:59:03 +02:00
modulate = Color(0.966071, 0.695469, 0, 1)
2025-08-28 20:35:45 +02:00
pixel_size = 0.03
axis = 1
2025-08-28 18:59:03 +02:00
billboard = 2
alpha_cut = 1
2025-09-01 13:52:14 +02:00
texture = ExtResource("3_6dp1o")
2025-08-28 20:35:45 +02:00
hframes = 15
vframes = 7
frame = 44
region_rect = Rect2(703, 96, 21, 30)
2025-08-28 18:59:03 +02:00
[node name="AnimationPlayer" type="AnimationPlayer" parent="TowerManager"]
2025-08-28 18:59:03 +02:00
libraries = {
&"": SubResource("AnimationLibrary_43wwi")
}
2025-03-26 18:55:43 +01:00
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_036b0")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
2025-08-21 18:52:45 +02:00
transform = Transform3D(1, 0, 0, 0, 0.0532597, 0.998581, 0, -0.998581, 0.0532597, 0, 4, 6)
2025-08-18 15:11:33 +02:00
light_energy = 0.0
2025-03-26 18:55:43 +01:00
2025-04-02 18:02:13 +02:00
[node name="CanvasLayer" type="CanvasLayer" parent="."]
2025-09-01 13:52:14 +02:00
[node name="GUI" parent="CanvasLayer" instance=ExtResource("6_ebgat")]
2025-04-02 18:02:13 +02:00
2025-08-25 23:23:03 +02:00
[node name="Towers" type="Node3D" parent="."]
[node name="TroopTimer" type="Timer" parent="."]
one_shot = true