-
Notifications
You must be signed in to change notification settings - Fork 3
/
colony_enemy.tscn
30 lines (21 loc) · 857 Bytes
/
colony_enemy.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://colony.gd" type="Script" id=1]
[ext_resource path="res://assets/ships/ufoRed.png" type="Texture2D" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 23.0021
[node name="Node2D" type="Node2D" groups=[
"enemy_col",
]]
[node name="Area2D" type="Area2D" parent="."]
script = ExtResource( 1 )
[node name="Sprite2D" type="Sprite2D" parent="Area2D"]
scale = Vector2( 0.6, 0.6 )
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 1 )
[node name="bullet_container" type="Node" parent="Area2D"]
[node name="muzzle" type="Marker2D" parent="Area2D"]
[node name="gun_timer" type="Timer" parent="Area2D"]
wait_time = 0.5
one_shot = true
[connection signal="input_event" from="Area2D" to="Area2D" method="_on_Area2D_input_event"]