-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMain.tscn
66 lines (49 loc) · 2.16 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[gd_scene load_steps=10 format=2]
[ext_resource path="res://Main.gd" type="Script" id=1]
[ext_resource path="res://UI/Screens.tscn" type="PackedScene" id=2]
[ext_resource path="res://UI/HUD.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/music/Black Diamond.ogg" type="AudioStream" id=4]
[ext_resource path="res://Background.tscn" type="PackedScene" id=5]
[ext_resource path="res://ScreenShake.tscn" type="PackedScene" id=6]
[ext_resource path="res://Background2.tscn" type="PackedScene" id=7]
[ext_resource path="res://starfield/StarField.tscn" type="PackedScene" id=8]
[sub_resource type="Environment" id=1]
background_mode = 4
glow_intensity = 0.36
glow_strength = 1.09
glow_bloom = 0.09
glow_blend_mode = 0
[node name="Main" type="Node"]
script = ExtResource( 1 )
[node name="Background3" parent="." instance=ExtResource( 5 )]
[node name="StarField" parent="Background3" instance=ExtResource( 8 )]
show_behind_parent = true
position = Vector2( 278.655, 276.728 )
amount = 10
speed_scale = 2.71
explosiveness = 0.46
[node name="StartPosition" type="Position2D" parent="."]
position = Vector2( 339.149, 414.168 )
[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2( 242.854, 632.006 )
offset = Vector2( 0, -200 )
current = true
smoothing_enabled = true
smoothing_speed = 7.0
[node name="ScreenShake" parent="Camera2D" instance=ExtResource( 6 )]
[node name="Screens" parent="." instance=ExtResource( 2 )]
[node name="HUD" parent="." instance=ExtResource( 3 )]
[node name="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )
volume_db = -2.019
[node name="Background1" parent="." instance=ExtResource( 5 )]
speed = 50
[node name="Background2" parent="." instance=ExtResource( 7 )]
speed = 200
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 1 )
[node name="MusicFade" type="Tween" parent="."]
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="CameraZoomTween" type="Tween" parent="."]
[connection signal="script_changed" from="." to="Camera2D/ScreenShake" method="_on_Main_script_changed"]
[connection signal="start_game" from="Screens" to="." method="new_game"]