Added head-shooting and regeneration feature to player; added first
draft of Maggie's sounds.
This commit is contained in:
parent
accc463791
commit
2cc08692fd
17 changed files with 470 additions and 54 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://mp72cjiuquik"]
|
||||
[gd_scene format=3 uid="uid://mp72cjiuquik"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://xoihsrr4hw4k" path="res://scenes/enemy.gd" id="1_4gyqm"]
|
||||
[ext_resource type="Texture2D" uid="uid://deyu1prtitqcp" path="res://_graphics/Mini Pixel Pack 3/Enemies/Bon_Bon (16 x 16).png" id="1_7k104"]
|
||||
|
|
@ -134,27 +134,25 @@ _data = {
|
|||
&"explode": SubResource("Animation_epg4t")
|
||||
}
|
||||
|
||||
[node name="Enemy" type="Area2D" groups=["enemies"]]
|
||||
[node name="EnemyTest" type="Area2D" unique_id=1433837580 groups=["enemies"]]
|
||||
script = ExtResource("1_4gyqm")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=2115910138]
|
||||
texture = ExtResource("1_7k104")
|
||||
hframes = 4
|
||||
frame = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1841693239]
|
||||
shape = SubResource("RectangleShape2D_4gyqm")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_3yqyl")
|
||||
}
|
||||
autoplay = "bounce"
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=505814518]
|
||||
libraries/ = SubResource("AnimationLibrary_3yqyl")
|
||||
autoplay = &"bounce"
|
||||
|
||||
[node name="MoveTimer" type="Timer" parent="."]
|
||||
[node name="MoveTimer" type="Timer" parent="." unique_id=1928257014]
|
||||
one_shot = true
|
||||
|
||||
[node name="ShootTimer" type="Timer" parent="."]
|
||||
[node name="ShootTimer" type="Timer" parent="." unique_id=1985644907]
|
||||
one_shot = true
|
||||
|
||||
[connection signal="timeout" from="MoveTimer" to="." method="_on_timer_timeout"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue