-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.tscn
48 lines (36 loc) · 1.86 KB
/
main.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[gd_scene load_steps=9 format=3 uid="uid://dikpya2pi0i66"]
[ext_resource type="Script" path="res://main.gd" id="1_lyfac"]
[ext_resource type="PackedScene" uid="uid://c1tug87fw4xs" path="res://Player/rocket.tscn" id="1_nmvdq"]
[ext_resource type="PackedScene" uid="uid://cihqkayqkp35l" path="res://Background/background.tscn" id="5_rc5yt"]
[ext_resource type="Shader" path="res://Shader/screenshake.gdshader" id="6_a3vbv"]
[ext_resource type="PackedScene" uid="uid://v7o2t6i1gg47" path="res://spawner.tscn" id="7_bkyw2"]
[ext_resource type="PackedScene" uid="uid://c7khim02dfxsw" path="res://Background/transition.tscn" id="10_ngmpp"]
[ext_resource type="PackedScene" uid="uid://cd02qtpq2ias" path="res://UI/tutorial.tscn" id="11_ldlc6"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ke17k"]
shader = ExtResource("6_a3vbv")
shader_parameter/ShakeStrength = 0.0
shader_parameter/FactorA = Vector2(100, 100)
shader_parameter/FactorB = Vector2(1, 1)
shader_parameter/magnitude = Vector2(0.01, 0.01)
[node name="Main" type="Node"]
script = ExtResource("1_lyfac")
[node name="Background" parent="." instance=ExtResource("5_rc5yt")]
[node name="Rocket" parent="." instance=ExtResource("1_nmvdq")]
position = Vector2(359, 129)
[node name="Music" type="AudioStreamPlayer" parent="."]
mix_target = 2
bus = &"Music"
[node name="Tutorial" parent="." instance=ExtResource("11_ldlc6")]
visible = false
[node name="Transition" parent="." instance=ExtResource("10_ngmpp")]
[node name="ScreenShake" type="CanvasLayer" parent="."]
[node name="ColorRect" type="ColorRect" parent="ScreenShake"]
material = SubResource("ShaderMaterial_ke17k")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Spawner" parent="." instance=ExtResource("7_bkyw2")]
[connection signal="finished" from="Music" to="." method="_on_music_finished"]