Side-Scrolling-Shooter/demo/godot/Scenes/Level 01.tscn

115 lines
4.1 KiB
Text

[gd_scene load_steps=14 format=3 uid="uid://sukfq8clv4s0"]
[ext_resource type="Texture2D" uid="uid://xlfmu7wr8mhb" path="res://non-godot/Textures/Level01/Sky2.png" id="1_wriy3"]
[ext_resource type="Texture2D" uid="uid://88sgqxmugeto" path="res://non-godot/Textures/Level01/Sky1.png" id="2_4tvsp"]
[ext_resource type="Texture2D" uid="uid://w527cw3q2qhm" path="res://non-godot/Textures/Level01/Sky3.png" id="3_e6nsj"]
[ext_resource type="PackedScene" uid="uid://b6gjwbfujf38y" path="res://godot/Scenes/heads_up_display.tscn" id="4_btphg"]
[ext_resource type="PackedScene" uid="uid://bjbccem28ir8r" path="res://godot/Scenes/player.tscn" id="5_6t24y"]
[ext_resource type="PackedScene" uid="uid://bkm7p6iqiqm21" path="res://godot/Scenes/Waves/sample.tscn" id="6_lxu8r"]
[ext_resource type="PackedScene" uid="uid://dyqnmrhflct7u" path="res://godot/Scenes/Waves/sample_behind.tscn" id="7_8amlk"]
[ext_resource type="PackedScene" uid="uid://baqm758lyy4o3" path="res://godot/Scenes/Waves/sample_shooting.tscn" id="8_2w03r"]
[sub_resource type="Gradient" id="Gradient_ay0jx"]
colors = PackedColorArray(0, 0.172549, 1, 1, 0, 0.623529, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_1gw3d"]
gradient = SubResource("Gradient_ay0jx")
width = 1280
height = 720
fill_from = Vector2(1, 1)
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_ctueq"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(1, 360, 1)
angle_min = 1.07288e-05
angle_max = 1.07288e-05
inherit_velocity_ratio = 1.0
direction = Vector3(-1, 0, 0)
spread = 0.0
initial_velocity_min = 25.0
initial_velocity_max = 75.0
gravity = Vector3(0, 0, 0)
scale_max = 2.0
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_dvhti"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(1, 360, 1)
angle_min = 1.07288e-05
angle_max = 1.07288e-05
inherit_velocity_ratio = 1.0
direction = Vector3(-1, 0, 0)
spread = 0.0
initial_velocity_min = 100.0
initial_velocity_max = 250.0
gravity = Vector3(0, 0, 0)
scale_min = 0.8
scale_max = 1.3
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_4312q"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(1, 360, 1)
angle_min = 1.07288e-05
angle_max = 1.07288e-05
inherit_velocity_ratio = 1.0
direction = Vector3(-1, 0, 0)
spread = 0.0
initial_velocity_min = 50.0
initial_velocity_max = 1000.0
gravity = Vector3(0, 0, 0)
scale_min = 0.3
scale_max = 1.1
[node name="Level 01" type="Node2D"]
[node name="Background" type="Node2D" parent="."]
[node name="TextureRect" type="TextureRect" parent="Background"]
anchors_preset = -1
offset_right = 40.0
offset_bottom = 40.0
texture = SubResource("GradientTexture2D_1gw3d")
[node name="SlowestClouds" type="GPUParticles2D" parent="Background"]
position = Vector2(1800, 360)
amount = 40
texture = ExtResource("1_wriy3")
lifetime = 480.0
preprocess = 120.0
visibility_rect = Rect2(-2000, -2000, 4000, 4000)
process_material = SubResource("ParticleProcessMaterial_ctueq")
[node name="SlowClouds" type="GPUParticles2D" parent="Background"]
position = Vector2(1800, 360)
amount = 20
texture = ExtResource("2_4tvsp")
lifetime = 120.0
preprocess = 40.0
visibility_rect = Rect2(-2000, -2000, 4000, 4000)
process_material = SubResource("ParticleProcessMaterial_dvhti")
[node name="FastClouds" type="GPUParticles2D" parent="Background"]
position = Vector2(1800, 360)
amount = 40
texture = ExtResource("3_e6nsj")
lifetime = 40.0
preprocess = 10.0
visibility_rect = Rect2(-2000, -2000, 4000, 4000)
process_material = SubResource("ParticleProcessMaterial_4312q")
[node name="HeadsUpDisplay" parent="." instance=ExtResource("4_btphg")]
[node name="Player" parent="." instance=ExtResource("5_6t24y")]
position = Vector2(157, 279)
slide_on_ceiling = false
[node name="WaveSystem" type="WaveSystem" parent="."]
TimeTilWave = Array[float]([0.0, 3.0, 3.0])
WaveScenes = Array[PackedScene]([ExtResource("6_lxu8r"), ExtResource("7_8amlk"), ExtResource("8_2w03r")])
FadeAtBeginning = true
FadeAtEnd = true
FadeTime = 3
[connection signal="WavesFinished" from="WaveSystem" to="HeadsUpDisplay" method="_on_wave_system_waves_finished"]