-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathGame.tscn
More file actions
40 lines (30 loc) · 1.35 KB
/
Game.tscn
File metadata and controls
40 lines (30 loc) · 1.35 KB
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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Game.gd" type="Script" id=1]
[ext_resource path="res://LevelTimer.gd" type="Script" id=2]
[ext_resource path="res://SpinnerLableFont.tres" type="DynamicFont" id=3]
[ext_resource path="res://GameSwipeDetector.gd" type="Script" id=4]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 628.057, 1350.33 )
[node name="GameNode2D" type="Node2D"]
script = ExtResource( 1 )
[node name="GravityTimer" type="Timer" parent="."]
[node name="Magnetism" type="Timer" parent="."]
[node name="LevelTimer" type="Timer" parent="."]
wait_time = 19.0
script = ExtResource( 2 )
[node name="LevelTimerLabel" type="Label" parent="LevelTimer"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -135.0
margin_top = -62.0
custom_fonts/font = ExtResource( 3 )
[node name="GameSwipeDetector" type="Area2D" parent="."]
script = ExtResource( 4 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="GameSwipeDetector"]
position = Vector2( 614.414, 1338.12 )
shape = SubResource( 1 )
[connection signal="timeout" from="GravityTimer" to="." method="_gravity_says_its_time"]
[connection signal="timeout" from="LevelTimer" to="." method="_on_LevelTimer_timeout"]
[connection signal="input_event" from="GameSwipeDetector" to="GameSwipeDetector" method="_on_GameSwipeDetector_input_event"]