-
Notifications
You must be signed in to change notification settings - Fork 1
/
GameBoard.tscn
49 lines (35 loc) · 1.41 KB
/
GameBoard.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://GameBoard.cs" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 363.692, 4.32824 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 2.6373, 515.293 )
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 353.322, 46.4374 )
[node name="GameBoard" type="Node2D"]
script = ExtResource( 2 )
[node name="Borders" type="StaticBody2D" parent="."]
collision_layer = 16
[node name="Top" type="CollisionShape2D" parent="Borders"]
position = Vector2( 360, 96 )
shape = SubResource( 1 )
[node name="PreGameBorder" type="CollisionShape2D" parent="Borders"]
position = Vector2( 360, 878 )
shape = SubResource( 1 )
[node name="Bottom" type="CollisionShape2D" parent="Borders"]
position = Vector2( 360, 1030 )
shape = SubResource( 1 )
[node name="Left" type="CollisionShape2D" parent="Borders"]
position = Vector2( -6, 512 )
shape = SubResource( 2 )
[node name="Right" type="CollisionShape2D" parent="Borders"]
position = Vector2( 728, 512 )
shape = SubResource( 2 )
[node name="BrickArea" type="Node2D" parent="."]
[node name="GameOverArea" type="Area2D" parent="."]
collision_layer = 16
[node name="CollisionShape2D" type="CollisionShape2D" parent="GameOverArea"]
position = Vector2( 360, 975 )
shape = SubResource( 3 )
disabled = true
[connection signal="body_entered" from="GameOverArea" to="." method="OnGameOverAreaEntered"]