-
Notifications
You must be signed in to change notification settings - Fork 0
/
Level3.tscn
152 lines (118 loc) · 6.96 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[gd_scene load_steps=13 format=2]
[ext_resource path="res://World_Tiles.tres" type="TileSet" id=1]
[ext_resource path="res://Character.tscn" type="PackedScene" id=2]
[ext_resource path="res://Pass-through-tiles.tres" type="TileSet" id=3]
[ext_resource path="res://assets/background/set2_background.png" type="Texture" id=4]
[ext_resource path="res://assets/background/set2_tiles.png" type="Texture" id=5]
[ext_resource path="res://Coin.tscn" type="PackedScene" id=6]
[ext_resource path="res://HUD.tscn" type="PackedScene" id=7]
[ext_resource path="res://assets/music/Retro Beat.ogg" type="AudioStream" id=8]
[ext_resource path="res://enemy.tscn" type="PackedScene" id=10]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 160, 32 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 256, 32 )
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 2480, 96 )
[node name="Level3" type="Node2D"]
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="Purple Sky" type="ParallaxLayer" parent="ParallaxBackground"]
motion_mirroring = Vector2( 1280, 960 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/Purple Sky"]
scale = Vector2( 2, 2 )
texture = ExtResource( 4 )
centered = false
[node name="Distant Blocks" type="ParallaxLayer" parent="ParallaxBackground"]
modulate = Color( 0.886275, 0.788235, 0, 0.309804 )
motion_scale = Vector2( 0.25, 0.25 )
motion_offset = Vector2( -500, -500 )
motion_mirroring = Vector2( 2560, 1920 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/Distant Blocks"]
scale = Vector2( 4, 4 )
texture = ExtResource( 5 )
centered = false
[node name="Middle Blocks" type="ParallaxLayer" parent="ParallaxBackground"]
modulate = Color( 0.854902, 0.752941, 0.752941, 0.8 )
motion_scale = Vector2( 0.4, 0.4 )
motion_offset = Vector2( -500, -500 )
motion_mirroring = Vector2( 1600, 1200 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/Middle Blocks"]
scale = Vector2( 2.5, 2.5 )
texture = ExtResource( 5 )
centered = false
[node name="Nearby Blocks" type="ParallaxLayer" parent="ParallaxBackground"]
motion_scale = Vector2( 0.6, 0.6 )
motion_mirroring = Vector2( 1120, 840 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/Nearby Blocks"]
scale = Vector2( 1.75, 1.75 )
texture = ExtResource( 5 )
centered = false
[node name="One-Way Tiles" type="TileMap" parent="."]
tile_set = ExtResource( 3 )
collision_layer = 2
collision_mask = 49
format = 1
tile_data = PoolIntArray( 131102, 1, 0, 131103, 2, 0, 131104, 2, 0, 131105, 2, 0, 131106, 2, 0, 131107, 2, 0, 131108, 2, 0, 131109, 3, 0, 196638, 0, 0, 196639, 0, 0, 196640, 0, 0, 196641, 0, 0, 196642, 0, 0, 196643, 0, 0, 196644, 0, 0, 196645, 0, 0, 262174, 0, 0, 262175, 0, 0, 262176, 0, 0, 262177, 0, 0, 262178, 0, 0, 262179, 0, 0, 262180, 0, 0, 262181, 0, 0, 327710, 2, 0, 327711, 2, 0, 327712, 2, 0, 327713, 2, 0, 327714, 2, 0, 327715, 0, 0, 327716, 0, 0, 327717, 0, 0, 393246, 0, 0, 393247, 0, 0, 393248, 0, 0, 393249, 0, 0, 393250, 0, 0, 393251, 0, 0, 393252, 0, 0, 393253, 0, 0, 458782, 0, 0, 458783, 0, 0, 458784, 0, 0, 458785, 0, 0, 458786, 0, 0, 458787, 0, 0, 458788, 0, 0, 458789, 0, 0 )
[node name="StaticBody2D" type="StaticBody2D" parent="One-Way Tiles"]
collision_layer = 2
collision_mask = 49
[node name="CollisionShape2D" type="CollisionShape2D" parent="One-Way Tiles/StaticBody2D"]
position = Vector2( 2080, 352 )
shape = SubResource( 1 )
one_way_collision = true
[node name="CollisionShape2D2" type="CollisionShape2D" parent="One-Way Tiles/StaticBody2D"]
position = Vector2( 2176, 160 )
shape = SubResource( 2 )
one_way_collision = true
[node name="Solid Tiles" type="TileMap" parent="."]
tile_set = ExtResource( 1 )
collision_layer = 2
collision_mask = 49
format = 1
tile_data = PoolIntArray( -65511, 4, 0, -65510, 2, 0, -65509, 2, 0, -65508, 2, 0, -65507, 5, 0, 65542, 4, 0, 65543, 5, 0, 131089, 4, 0, 131090, 2, 0, 131091, 2, 0, 131092, 2, 0, 131093, 5, 0, 327690, 4, 0, 327691, 2, 0, 327692, 2, 0, 327693, 2, 0, 327694, 5, 0, 524290, 1, 0, 524291, 2, 0, 524292, 2, 0, 524293, 2, 0, 524294, 2, 0, 524295, 2, 0, 524296, 2, 0, 524297, 2, 0, 524298, 2, 0, 524299, 2, 0, 524300, 3, 0, 524313, 1, 0, 524314, 2, 0, 524315, 2, 0, 524316, 2, 0, 524317, 2, 0, 524318, 2, 0, 524319, 2, 0, 524320, 2, 0, 524321, 2, 0, 524322, 2, 0, 524323, 2, 0, 524324, 2, 0, 524325, 2, 0, 524326, 2, 0, 524327, 3, 0, 589826, 0, 0, 589827, 0, 0, 589828, 0, 0, 589829, 0, 0, 589830, 0, 0, 589831, 0, 0, 589832, 0, 0, 589833, 0, 0, 589834, 0, 0, 589835, 0, 0, 589836, 0, 0, 589849, 0, 0, 589850, 0, 0, 589851, 0, 0, 589852, 0, 0, 589853, 0, 0, 589854, 0, 0, 589855, 0, 0, 589856, 0, 0, 589857, 0, 0, 589858, 0, 0, 589859, 0, 0, 589860, 0, 0, 589861, 0, 0, 589862, 0, 0, 589863, 0, 0, 655362, 0, 0, 655363, 0, 0, 655364, 0, 0, 655365, 0, 0, 655366, 0, 0, 655367, 0, 0, 655368, 0, 0, 655369, 0, 0, 655370, 0, 0, 655371, 0, 0, 655372, 0, 0, 655378, 1, 0, 655379, 3, 0, 655385, 0, 0, 655386, 0, 0, 655387, 0, 0, 655388, 0, 0, 655389, 0, 0, 655390, 0, 0, 655391, 0, 0, 655392, 0, 0, 655393, 0, 0, 655394, 0, 0, 655395, 0, 0, 655396, 0, 0, 655397, 0, 0, 655398, 0, 0, 655399, 0, 0 )
[node name="Fall Zone" type="Area2D" parent="."]
position = Vector2( 32, 800 )
collision_layer = 4
__meta__ = {
"_edit_group_": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="Fall Zone"]
position = Vector2( 1584, 128 )
shape = SubResource( 3 )
[node name="Coins" type="Node2D" parent="."]
[node name="Coin2" parent="Coins" instance=ExtResource( 6 )]
position = Vector2( 2186, 81 )
[node name="Coin3" parent="Coins" instance=ExtResource( 6 )]
position = Vector2( 1231, 82 )
[node name="Coin4" parent="Coins" instance=ExtResource( 6 )]
position = Vector2( 794, 273 )
[node name="Coin" parent="Coins" instance=ExtResource( 6 )]
position = Vector2( 449, 15 )
[node name="HUD" parent="." instance=ExtResource( 7 )]
[node name="enemies" type="Node2D" parent="."]
[node name="enemy" parent="enemies" instance=ExtResource( 10 )]
position = Vector2( 317, 473 )
[node name="enemy2" parent="enemies" instance=ExtResource( 10 )]
position = Vector2( 562, 469 )
[node name="Character" parent="." instance=ExtResource( 2 )]
position = Vector2( 213, 266 )
[node name="Camera2D" type="Camera2D" parent="Character"]
current = true
limit_left = 0
limit_bottom = 700
drag_margin_h_enabled = true
drag_margin_v_enabled = true
smoothing_enabled = true
drag_margin_left = 0.3
drag_margin_right = 0.3
editor_draw_limits = true
editor_draw_drag_margin = true
[node name="LevelMusic" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )
volume_db = -12.0
autoplay = true
[connection signal="body_entered" from="Fall Zone" to="Character" method="_on_fallzone_body_entered"]
[connection signal="coin_collected" from="Coins/Coin2" to="HUD" method="_on_coin_collected"]
[connection signal="coin_collected" from="Coins/Coin3" to="HUD" method="_on_coin_collected"]
[connection signal="coin_collected" from="Coins/Coin4" to="HUD" method="_on_coin_collected"]
[connection signal="coin_collected" from="Coins/Coin" to="HUD" method="_on_coin_collected"]