-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcolony_neutral.tscn
31 lines (21 loc) · 961 Bytes
/
colony_neutral.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://colony.gd" type="Script" id=1]
[ext_resource path="res://assets/ships/ufoYellow.png" type="Texture2D" id=2]
[ext_resource path="res://guns/bullet_neutral.tscn" type="PackedScene" id=3]
[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 )
bullet = ExtResource( 3 )
[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"]