-
Notifications
You must be signed in to change notification settings - Fork 1
/
Main.tscn
35 lines (30 loc) · 961 Bytes
/
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
[gd_scene load_steps=3 format=2]
[ext_resource path="res://GameSegment.tscn" type="PackedScene" id=1]
[ext_resource path="res://Main.gd" type="Script" id=2]
[node name="Main" type="Node2D"]
script = ExtResource( 2 )
[node name="LeftSegment" parent="." instance=ExtResource( 1 )]
position = Vector2( 16, 0 )
input = {
"left": "leftsegment_left",
"right": "leftsegment_right",
"up": "leftsegment_up"
}
[node name="RightSegment" parent="." instance=ExtResource( 1 )]
position = Vector2( 552, 0 )
input = {
"left": "rightsegment_left",
"right": "rightsegment_right",
"up": "rightsegment_up"
}
[node name="ColorRect" type="ColorRect" parent="."]
visible = false
margin_top = 1600.0
margin_right = 1080.0
margin_bottom = 1920.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="game_over" from="LeftSegment" to="." method="_on_game_over"]
[connection signal="game_over" from="RightSegment" to="." method="_on_game_over"]