-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEnemy.tscn
36 lines (27 loc) · 1.07 KB
/
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
31
32
33
34
35
36
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Enemy.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[ext_resource path="res://Hurtbox.tscn" type="PackedScene" id=3]
[ext_resource path="res://whiten_material.tres" type="Material" id=4]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 987.922, 49.8703 )
[node name="Enemy" type="Node2D"]
scale = Vector2( 0.8, 0.8 )
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
material = ExtResource( 4 )
scale = Vector2( 2, 2 )
texture = ExtResource( 2 )
[node name="ShootTimer" type="Timer" parent="."]
[node name="Rotater" type="Sprite" parent="."]
visible = false
texture = ExtResource( 2 )
[node name="Hurtbox" parent="." instance=ExtResource( 3 )]
scale = Vector2( 0.0707792, 1.41011 )
collision_layer = 0
collision_mask = 2
whiten_material = ExtResource( 4 )
[node name="CollisionShape2D" parent="Hurtbox" index="0"]
shape = SubResource( 1 )
[connection signal="timeout" from="ShootTimer" to="." method="_on_ShootTimer_timeout"]
[editable path="Hurtbox"]