-
Notifications
You must be signed in to change notification settings - Fork 0
/
scene1.tscn
35 lines (25 loc) · 1.09 KB
/
scene1.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://scene1.gd" type="Script" id=1]
[ext_resource path="res://LighteningLayer.gd" type="Script" id=2]
[ext_resource path="res://Components/MapCamera.gd" type="Script" id=3]
[node name="Scene1" type="Node2D"]
script = ExtResource( 1 )
[node name="Background" type="Polygon2D" parent="."]
color = Color( 0, 0, 0.0196078, 1 )
polygon = PoolVector2Array( 5, 5, 18, 585, 1017, 587, 1010, 13 )
[node name="BallLayer" type="Node2D" parent="."]
[node name="LighteningLayer" type="Node2D" parent="."]
script = ExtResource( 2 )
[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2( 510, 294 )
current = true
script = ExtResource( 3 )
[node name="Tween" type="Tween" parent="Camera2D"]
[node name="SpawnBallTimer" type="Timer" parent="."]
wait_time = 0.05
autostart = true
[node name="CleanupTimer" type="Timer" parent="."]
wait_time = 0.5
autostart = true
[connection signal="timeout" from="SpawnBallTimer" to="." method="_on_SpawnBallTimer_timeout"]
[connection signal="timeout" from="CleanupTimer" to="." method="_on_CleanupTimer_timeout"]