-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlevel-04.tscn
115 lines (87 loc) · 4.84 KB
/
level-04.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
[gd_scene load_steps=9 format=1]
[ext_resource path="res://BGtiles.tres" type="TileSet" id=1]
[ext_resource path="res://walls2.tres" type="TileSet" id=2]
[ext_resource path="res://Player.tscn" type="PackedScene" id=3]
[ext_resource path="res://Exit.tscn" type="PackedScene" id=4]
[ext_resource path="res://Scripts/EnemyPath.gd" type="Script" id=5]
[ext_resource path="res://enemy.tscn" type="PackedScene" id=6]
[sub_resource type="Curve2D" id=1]
bake_interval = 5.0
_data = {
"points": Vector2Array( 0, 0, 0, 0, -126.904, 196.232, 0, 0, 0, 0, 129.051, 194.016, 0, 0, 0, 0, 127.943, 449.971, 0, 0, 0, 0, -129.12, 449.971, 0, 0, 0, 0, -126.904, 196.232 )
}
[sub_resource type="Curve2D" id=2]
bake_interval = 5.0
_data = {
"points": Vector2Array( 0, 0, 0, 0, 0.519531, 2.32648, 0, 0, 0, 0, -256.544, 2.32648, 0, 0, 0, 0, -255.436, -261.385, 0, 0, 0, 0, 0.519531, -262.493, 0, 0, 0, 0, 0.519531, 2.32648 )
}
[node name="Node2D" type="Node2D"]
[node name="BGmap" type="TileMap" parent="."]
mode = 0
tile_set = ExtResource( 1 )
cell/size = Vector2( 64, 64 )
cell/quadrant_size = 16
cell/custom_transform = Matrix32( 1, 0, 0, 1, 0, 0 )
cell/half_offset = 2
cell/tile_origin = 0
cell/y_sort = false
collision/use_kinematic = false
collision/friction = 1.0
collision/bounce = 0.0
collision/layers = 1
collision/mask = 1
occluder/light_mask = 1
tile_data = IntArray( 0, 0, 8, 0 )
[node name="wall" type="TileMap" parent="."]
mode = 0
tile_set = ExtResource( 2 )
cell/size = Vector2( 64, 64 )
cell/quadrant_size = 16
cell/custom_transform = Matrix32( 1, 0, 0, 1, 0, 0 )
cell/half_offset = 2
cell/tile_origin = 0
cell/y_sort = false
collision/use_kinematic = false
collision/friction = 1.0
collision/bounce = 0.0
collision/layers = 524288
collision/mask = 1
occluder/light_mask = 1
tile_data = IntArray( -196609, 0, -262144, 0, -262143, 0, -262142, 0, -262141, 0, -262140, 0, -262139, 0, -131073, 0, -196608, 7, -196607, 7, -196606, 7, -196605, 7, -196604, 7, -196603, 0, -65537, 0, -131072, 7, -131071, 7, -131070, 7, -131069, 7, -131068, 7, -131067, 0, -1, 0, -65536, 7, -65535, 7, -65534, 7, -65533, 7, -65532, 7, -65531, 0, 65532, 0, 65533, 0, 65534, 0, 65535, 0, 0, 0, 1, 0, 2, 7, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 8, 0, 131068, 0, 131069, 7, 131070, 7, 131071, 7, 65536, 7, 65537, 7, 65538, 7, 65539, 7, 65540, 7, 65541, 7, 65542, 7, 65543, 7, 65544, 0, 196604, 0, 196605, 7, 196606, 7, 196607, 7, 131072, 7, 131073, 7, 131074, 7, 131075, 7, 131076, 7, 131077, 7, 131078, 7, 131079, 7, 131080, 0, 262140, 0, 262141, 7, 262142, 7, 262143, 7, 196608, 7, 196609, 7, 196610, 7, 196611, 7, 196612, 7, 196613, 7, 196614, 7, 196615, 7, 196616, 0, 327676, 0, 327677, 7, 327678, 7, 327679, 1, 262144, 1, 262145, 7, 262146, 7, 262147, 7, 262148, 1, 262149, 1, 262150, 7, 262151, 7, 262152, 0, 393212, 0, 393213, 7, 393214, 7, 393215, 1, 327680, 1, 327681, 7, 327682, 7, 327683, 7, 327684, 1, 327685, 1, 327686, 7, 327687, 7, 327688, 0, 458748, 0, 458749, 7, 458750, 7, 458751, 7, 393216, 7, 393217, 7, 393218, 7, 393219, 7, 393220, 7, 393221, 7, 393222, 7, 393223, 7, 393224, 0, 524284, 0, 524285, 7, 524286, 7, 524287, 7, 458752, 7, 458753, 7, 458754, 7, 458755, 7, 458756, 7, 458757, 7, 458758, 7, 458759, 7, 458760, 0, 589820, 0, 589821, 7, 589822, 7, 589823, 7, 524288, 7, 524289, 7, 524290, 7, 524291, 7, 524292, 7, 524293, 7, 524294, 7, 524295, 7, 524296, 0, 655356, 0, 655357, 0, 655358, 0, 655359, 0, 589824, 0, 589825, 0, 589826, 7, 589827, 0, 589828, 0, 589829, 0, 589830, 0, 589831, 0, 589832, 0, 655360, 0, 655361, 7, 655362, 7, 655363, 7, 655364, 0, 720896, 0, 720897, 7, 720898, 7, 720899, 7, 720900, 0, 786432, 0, 786433, 7, 786434, 7, 786435, 7, 786436, 0, 851968, 0, 851969, 0, 851970, 0, 851971, 0, 851972, 0 )
[node name="Player" parent="." instance=ExtResource( 3 )]
transform/pos = Vector2( 54.0414, -95.4212 )
[node name="Exit" parent="." instance=ExtResource( 4 )]
transform/pos = Vector2( 155.23, 790.588 )
dest = "res://level-05.tscn"
[node name="PathLeft" type="Path2D" parent="."]
curve = SubResource( 1 )
[node name="PathLeftFollow" type="PathFollow2D" parent="PathLeft"]
transform/pos = Vector2( -126.904, 196.232 )
transform/rot = 0.495534
offset = 0.0
h_offset = 0.0
v_offset = 0.0
rotate = true
cubic_interp = true
loop = true
lookahead = 4.0
script/script = ExtResource( 5 )
[node name="Node2D" parent="PathLeft/PathLeftFollow" instance=ExtResource( 6 )]
transform/pos = Vector2( 0.39299, -0.391602 )
transform/rot = -90.0
[node name="PathRight" type="Path2D" parent="."]
transform/pos = Vector2( 448.753, 450.969 )
curve = SubResource( 2 )
[node name="PathFollow2D" type="PathFollow2D" parent="PathRight"]
transform/pos = Vector2( 0.519531, 2.32648 )
transform/rot = 180.0
offset = 0.0
h_offset = 0.0
v_offset = 0.0
rotate = true
cubic_interp = true
loop = true
lookahead = 4.0
script/script = ExtResource( 5 )
[node name="StandardEnemy" parent="PathRight/PathFollow2D" instance=ExtResource( 6 )]
transform/rot = -90.0