-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tscn
More file actions
25 lines (17 loc) · 903 Bytes
/
main.tscn
File metadata and controls
25 lines (17 loc) · 903 Bytes
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
[gd_scene load_steps=4 format=3 uid="uid://dty4swyik20u8"]
[ext_resource type="Script" path="res://main.gd" id="1_5ym1l"]
[ext_resource type="PackedScene" uid="uid://d3albi0hmpvhh" path="res://ship.tscn" id="1_84hkn"]
[ext_resource type="PackedScene" uid="uid://dcb7sq80d7j6v" path="res://alien.tscn" id="2_20hts"]
[node name="Main" type="Node"]
script = ExtResource("1_5ym1l")
alien_scene = ExtResource("2_20hts")
[node name="Ship" parent="." instance=ExtResource("1_84hkn")]
[node name="AlienTimer" type="Timer" parent="."]
[node name="ScoreTimer" type="Timer" parent="."]
[node name="StartTimer" type="Timer" parent="."]
wait_time = 2.0
one_shot = true
[node name="StartPosition" type="Marker2D" parent="."]
position = Vector2(240, 450)
[connection signal="hit" from="Ship" to="." method="_on_ship_hit"]
[connection signal="timeout" from="AlienTimer" to="." method="_on_alien_timer_timeout"]