-
Notifications
You must be signed in to change notification settings - Fork 10
/
World.tscn
38 lines (31 loc) · 1.08 KB
/
World.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://World.gd" type="Script" id=1]
[ext_resource path="res://StarParticles.tscn" type="PackedScene" id=2]
[ext_resource path="res://Ship.tscn" type="PackedScene" id=3]
[ext_resource path="res://EnemySpawner.tscn" type="PackedScene" id=4]
[ext_resource path="res://PixelFont.tres" type="DynamicFont" id=5]
[node name="World" type="Node" groups=[
"World",
]]
script = ExtResource( 1 )
[node name="Background" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_lock_": true
}
[node name="StarParticles" parent="." instance=ExtResource( 2 )]
[node name="Ship" parent="." instance=ExtResource( 3 )]
position = Vector2( 32, 90 )
z_index = 1
[node name="EnemySpawner" parent="." instance=ExtResource( 4 )]
position = Vector2( 320, 0 )
[node name="ScoreLabel" type="Label" parent="."]
anchor_right = 1.0
margin_bottom = 16.0
custom_fonts/font = ExtResource( 5 )
text = "Score = 0"
align = 1
valign = 1
[connection signal="player_death" from="Ship" to="." method="_on_Ship_player_death"]