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
[gd_scene load_steps=10 format=2]

[ext_resource path="res://enemy/scripts/EnemySpawner.gd" type="Script" id=1]
[ext_resource path="res://sprites/EasyEnemy.png" type="Texture" id=2]
[ext_resource path="res://sprites/icon.png" type="Texture" id=3]
[ext_resource path="res://sprites/squid.png" type="Texture" id=4]
[ext_resource path="res://sprites/UFO-export.png" type="Texture" id=5]
[ext_resource path="res://sprites/boss2.png" type="Texture" id=6]
[ext_resource path="res://fonts/04b-19.tres" type="DynamicFont" id=7]
[ext_resource path="res://sprites/HardEnemy.png" type="Texture" id=8]
[ext_resource path="res://sprites/bossfinal.png" type="Texture" id=9]

[node name="EnemySpawner" type="Node2D"]
script = ExtResource( 1 )

[node name="SpawnPoints" type="Node2D" parent="."]

[node name="Point" type="Position2D" parent="SpawnPoints"]
position = Vector2( 0, 45 )

[node name="Point3" type="Position2D" parent="SpawnPoints"]
position = Vector2( 0, 90 )

[node name="Point5" type="Position2D" parent="SpawnPoints"]
position = Vector2( 0, 135 )

[node name="Sprite Holders" type="Node2D" parent="."]
position = Vector2( -19, -33 )

[node name="octopus" type="Sprite" parent="Sprite Holders"]
visible = false
position = Vector2( -21, 197 )
rotation = -1.5708
texture = ExtResource( 2 )
hframes = 2

[node name="basicenemy" type="Sprite" parent="Sprite Holders"]
visible = false
position = Vector2( -23, 197 )
texture = ExtResource( 3 )

[node name="squid" type="Sprite" parent="Sprite Holders"]
visible = false
position = Vector2( -21, 197 )
texture = ExtResource( 4 )
vframes = 2

[node name="ufo" type="Sprite" parent="Sprite Holders"]
visible = false
position = Vector2( -20, 197 )
texture = ExtResource( 5 )

[node name="boss" type="Sprite" parent="Sprite Holders"]
visible = false
position = Vector2( -20, 197 )
texture = ExtResource( 6 )

[node name="hardy" type="Sprite" parent="Sprite Holders"]
visible = false
position = Vector2( -20, 197 )
rotation = -1.5708
texture = ExtResource( 8 )
hframes = 2

[node name="finale" type="Sprite" parent="Sprite Holders"]
visible = false
position = Vector2( -20, 197 )
rotation = -1.5708
texture = ExtResource( 9 )

[node name="Label" type="Label" parent="Sprite Holders"]
visible = false
margin_left = -344.0
margin_top = 189.0
margin_right = -32.0
margin_bottom = 206.0
custom_fonts/font = ExtResource( 7 )
text = "Beware of the"
align = 2
valign = 1

[node name="Timer" type="Timer" parent="."]
wait_time = 0.5
autostart = true

[connection signal="timeout" from="Timer" to="." method="spawn_enemy_on_current_difficulty"]