-
Notifications
You must be signed in to change notification settings - Fork 0
/
level2.tscn
121 lines (88 loc) · 3.98 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
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
[gd_scene load_steps=12 format=2]
[ext_resource path="res://layer_01_1920 x 1080.png" type="Texture" id=1]
[ext_resource path="res://layer_02_1920 x 1080.png" type="Texture" id=2]
[ext_resource path="res://layer_03_2048 x 1546.png" type="Texture" id=3]
[ext_resource path="res://platform.tscn" type="PackedScene" id=4]
[ext_resource path="res://mainChar.tscn" type="PackedScene" id=5]
[ext_resource path="res://coin.tscn" type="PackedScene" id=6]
[ext_resource path="res://spike.tscn" type="PackedScene" id=7]
[ext_resource path="res://bird.tscn" type="PackedScene" id=8]
[ext_resource path="res://level2.gd" type="Script" id=9]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 204.5, 10 )
[sub_resource type="CapsuleShape2D" id=1]
height = 670.0
[node name="Node2D" type="Node2D"]
script = ExtResource( 9 )
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="ParallaxLayer1" type="ParallaxLayer" parent="ParallaxBackground"]
[node name="Background1" type="Sprite" parent="ParallaxBackground/ParallaxLayer1"]
texture = ExtResource( 1 )
[node name="ParallaxLayer2" type="ParallaxLayer" parent="ParallaxBackground"]
[node name="Background2" type="Sprite" parent="ParallaxBackground/ParallaxLayer2"]
texture = ExtResource( 3 )
[node name="ParallaxLayer3" type="ParallaxLayer" parent="ParallaxBackground/ParallaxLayer2"]
[node name="Background3" type="Sprite" parent="ParallaxBackground/ParallaxLayer2/ParallaxLayer3"]
position = Vector2( -1, -1 )
texture = ExtResource( 2 )
offset = Vector2( 1, -24 )
[node name="postava" parent="." instance=ExtResource( 5 )]
position = Vector2( -401, -85 )
[node name="podlaha" parent="." instance=ExtResource( 4 )]
position = Vector2( -220, -38 )
[node name="podlaha5" parent="." instance=ExtResource( 4 )]
position = Vector2( 126, 304 )
[node name="podlaha2" parent="." instance=ExtResource( 4 )]
position = Vector2( 172, 41 )
scale = Vector2( 0.2, 1 )
[node name="Node2D5" parent="." instance=ExtResource( 8 )]
position = Vector2( 274, 222 )
[node name="podlaha3" parent="." instance=ExtResource( 4 )]
position = Vector2( -242, 204 )
scale = Vector2( 0.5, 1 )
[node name="podlaha6" parent="." instance=ExtResource( 4 )]
position = Vector2( 345, -79 )
scale = Vector2( 0.2, 1 )
[node name="Node2D6" parent="." instance=ExtResource( 8 )]
position = Vector2( 661, 103 )
[node name="podlaha4" parent="." instance=ExtResource( 4 )]
position = Vector2( 655, 186 )
[node name="podlaha7" parent="." instance=ExtResource( 4 )]
visible = false
position = Vector2( 905, -44 )
rotation = 1.5708
[node name="Label" type="Label" parent="."]
margin_left = -153.0
margin_top = -123.0
margin_right = -16.0
margin_bottom = -68.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "LEVEL 2"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Node2D" parent="." instance=ExtResource( 6 )]
position = Vector2( 348, -136 )
[node name="Node2D7" parent="." instance=ExtResource( 6 )]
position = Vector2( 769, 135 )
[node name="Node2D4" parent="." instance=ExtResource( 6 )]
position = Vector2( -245, 145 )
[node name="Node2D8" parent="." instance=ExtResource( 6 )]
position = Vector2( 171, -15 )
[node name="Node2D3" parent="." instance=ExtResource( 6 )]
position = Vector2( 120, 234 )
[node name="Node2D2" parent="." instance=ExtResource( 7 )]
position = Vector2( 52, 7 )
[node name="Area2D" type="Area2D" parent="."]
position = Vector2( 20, 50 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( -19.5, 378 )
scale = Vector2( 5, 5 )
shape = SubResource( 2 )
[node name="gameOverArea" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="gameOverArea"]
position = Vector2( 854, -190 )
shape = SubResource( 1 )
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
[connection signal="body_entered" from="gameOverArea" to="." method="_on_gameOverArea_body_entered"]
[connection signal="body_entered" from="gameOverArea" to="postava" method="_on_gameOverArea_body_entered"]