-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLevel3.tscn
125 lines (98 loc) · 4.73 KB
/
Level3.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Circle.tscn" type="PackedScene" id=1]
[ext_resource path="res://Theme.tres" type="Theme" id=2]
[ext_resource path="res://images/background.jpg" type="Texture" id=3]
[ext_resource path="res://Shape.tscn" type="PackedScene" id=4]
[ext_resource path="res://Level3.gd" type="Script" id=5]
[ext_resource path="res://Wall.tres" type="PhysicsMaterial" id=6]
[node name="Node2D" type="Node2D"]
script = ExtResource( 5 )
[node name="StaticBody2D" type="StaticBody2D" parent="."]
physics_material_override = ExtResource( 6 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D"]
polygon = PoolVector2Array( 0, 602, 1025, 600, 1026, -1, 1103, -7, 1089, 663, -97, 671, -108, -73, 1138, -85, 1050, -2, 0, 1 )
[node name="Background" type="Sprite" parent="."]
texture = ExtResource( 3 )
centered = false
[node name="Triangle1" parent="." groups=["shapes"] instance=ExtResource( 4 )]
[node name="Polygon" type="Polygon2D" parent="Triangle1"]
color = Color( 0.329412, 0.658824, 0.607843, 1 )
antialiased = true
polygon = PoolVector2Array( 179, -170, 317, 310, 502, 222 )
[node name="Triangle2" parent="." groups=["shapes"] instance=ExtResource( 4 )]
colour = 4
[node name="Polygon" type="Polygon2D" parent="Triangle2"]
color = Color( 0.913725, 0.788235, 0.486275, 1 )
antialiased = true
polygon = PoolVector2Array( 609, 353, 1606, -302, 502, 222 )
[node name="Triangle7" parent="." groups=["shapes"] instance=ExtResource( 4 )]
colour = 4
[node name="Polygon" type="Polygon2D" parent="Triangle7"]
color = Color( 0.913725, 0.788235, 0.486275, 1 )
antialiased = true
polygon = PoolVector2Array( -263, 586, -47, 784, 373, 508, 317.237, 310.318 )
[node name="Triangle3" parent="." groups=["shapes"] instance=ExtResource( 4 )]
colour = 1
[node name="Polygon" type="Polygon2D" parent="Triangle3"]
color = Color( 0.501961, 0.137255, 0.145098, 1 )
antialiased = true
polygon = PoolVector2Array( 869, 668, 1333, 699, 1595, -291, 680, 439 )
[node name="Triangle4" parent="." groups=["shapes"] instance=ExtResource( 4 )]
colour = 5
[node name="Polygon" type="Polygon2D" parent="Triangle4"]
color = Color( 0.815686, 0.482353, 0.145098, 1 )
antialiased = true
polygon = PoolVector2Array( 317, 310, 373, 508, 609, 353, 502, 222 )
[node name="Triangle5" parent="." groups=["shapes"] instance=ExtResource( 4 )]
colour = 3
[node name="Polygon" type="Polygon2D" parent="Triangle5"]
color = Color( 0.0196078, 0.25098, 0.611765, 1 )
antialiased = true
polygon = PoolVector2Array( 435, 636, 902, 708, 680, 439 )
[node name="Triangle6" parent="." groups=["shapes"] instance=ExtResource( 4 )]
[node name="Polygon" type="Polygon2D" parent="Triangle6"]
color = Color( 0.329412, 0.658824, 0.607843, 1 )
antialiased = true
polygon = PoolVector2Array( 373, 508, 405, 604, 460.364, 617.627, 680, 439, 609, 353 )
[node name="PinkCircle" parent="." groups=["circles"] instance=ExtResource( 1 )]
position = Vector2( 136, 263 )
input_pickable = true
size = 70
colour = 2
selected = true
[node name="OrangeCircle" parent="." groups=["circles"] instance=ExtResource( 1 )]
position = Vector2( 890, 467 )
input_pickable = true
colour = 5
[node name="BlueCircle" parent="." groups=["circles"] instance=ExtResource( 1 )]
position = Vector2( 811, 214 )
input_pickable = true
colour = 3
[node name="GoldCircle" parent="." groups=["circles"] instance=ExtResource( 1 )]
position = Vector2( 493, 503 )
input_pickable = true
colour = 4
[node name="RedCircle" parent="." groups=["circles"] instance=ExtResource( 1 )]
position = Vector2( 543, 93 )
input_pickable = true
size = 80
[node name="LevelCompleteUI" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
[node name="NextLevelButton" type="Button" parent="LevelCompleteUI"]
margin_left = 821.0
margin_top = 508.0
margin_right = 965.0
margin_bottom = 548.0
theme = ExtResource( 2 )
text = "Next level >"
[connection signal="clicked" from="PinkCircle" to="." method="_on_PinkCircle_clicked"]
[connection signal="mouse_entered" from="PinkCircle" to="." method="_on_Kan_mouse_entered"]
[connection signal="mouse_exited" from="PinkCircle" to="." method="_on_Kan_mouse_exited"]
[connection signal="clicked" from="OrangeCircle" to="." method="_on_OrangeCircle_clicked"]
[connection signal="mouse_entered" from="OrangeCircle" to="." method="_on_Dinsky_mouse_entered"]
[connection signal="mouse_exited" from="OrangeCircle" to="." method="_on_Dinsky_mouse_exited"]
[connection signal="clicked" from="BlueCircle" to="." method="_on_BlueCircle_clicked"]
[connection signal="clicked" from="GoldCircle" to="." method="_on_GoldCircle_clicked"]
[connection signal="clicked" from="RedCircle" to="." method="_on_RedCircle_clicked"]
[connection signal="pressed" from="LevelCompleteUI/NextLevelButton" to="." method="_on_NextLevelButton_pressed"]