-
Notifications
You must be signed in to change notification settings - Fork 0
/
Level2.tscn
76 lines (60 loc) · 2.85 KB
/
Level2.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
[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://Level2.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( 801, 248, 597, 569, 998, 482 )
[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( 331, 241, 160, 538, 552, 504 )
[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( 624, 324, 881, 111, 437, 74 )
[node name="Kan" parent="." groups=["circles"] instance=ExtResource( 1 )]
position = Vector2( 191, 169 )
input_pickable = true
size = 80
colour = 2
selected = true
[node name="Dinsky" parent="." groups=["circles"] instance=ExtResource( 1 )]
position = Vector2( 904, 325 )
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="Kan" to="." method="_on_Kan_clicked"]
[connection signal="mouse_entered" from="Kan" to="." method="_on_Kan_mouse_entered"]
[connection signal="mouse_exited" from="Kan" to="." method="_on_Kan_mouse_exited"]
[connection signal="clicked" from="Dinsky" to="." method="_on_Dinsky_clicked"]
[connection signal="mouse_entered" from="Dinsky" to="." method="_on_Dinsky_mouse_entered"]
[connection signal="mouse_exited" from="Dinsky" to="." method="_on_Dinsky_mouse_exited"]
[connection signal="pressed" from="LevelCompleteUI/NextLevelButton" to="." method="_on_NextLevelButton_pressed"]