43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://Scenes/Objects/Ship.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://Scenes/Stages/World.gd" type="Script" id=2]
|
|
[ext_resource path="res://Scenes/EnemySpawner.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://Fonts/PixelFont.tres" type="DynamicFont" id=4]
|
|
[ext_resource path="res://Scenes/Objects/Stars.tscn" type="PackedScene" id=5]
|
|
|
|
[node name="World" type="Node" groups=[
|
|
"World",
|
|
]]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Background" type="ColorRect" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
color = Color( 0, 0, 0, 1 )
|
|
__meta__ = {
|
|
"_edit_lock_": true,
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Stars" parent="." instance=ExtResource( 5 )]
|
|
|
|
[node name="EnemySpawner" parent="." instance=ExtResource( 3 )]
|
|
position = Vector2( 336, 0 )
|
|
|
|
[node name="Ship" parent="." instance=ExtResource( 1 )]
|
|
position = Vector2( 32, 90 )
|
|
|
|
[node name="Score" type="Label" parent="."]
|
|
margin_right = 320.0
|
|
margin_bottom = 14.0
|
|
custom_fonts/font = ExtResource( 4 )
|
|
text = "Score = 0"
|
|
align = 1
|
|
valign = 1
|
|
__meta__ = {
|
|
"_edit_lock_": true,
|
|
"_edit_use_anchors_": false
|
|
}
|
|
[connection signal="player_death" from="Ship" to="." method="_on_Ship_player_death"]
|