Compare commits

..

3 Commits

Author SHA1 Message Date
Luna Brovchuk 602c9a26f2 FIX THIS FUCKING BAT LOOP ONCE AGAIN 2023-10-02 21:42:14 +02:00
Luna Brovchuk 8b62f84ca3 Merge branch 'main' of http://meowo.cc:3000/meowo/LD54 2023-10-02 21:40:12 +02:00
Luna Brovchuk 573be1862c Minor Fixes 2023-10-02 21:40:09 +02:00
4 changed files with 17 additions and 16 deletions

View File

@ -3,7 +3,6 @@
[ext_resource path="res://res/fonts/silkscreen/Silkscreen-Regular.ttf" type="DynamicFontData" id=1] [ext_resource path="res://res/fonts/silkscreen/Silkscreen-Regular.ttf" type="DynamicFontData" id=1]
[sub_resource type="DynamicFont" id=1] [sub_resource type="DynamicFont" id=1]
size = 8
font_data = ExtResource( 1 ) font_data = ExtResource( 1 )
[resource] [resource]

View File

@ -22,7 +22,7 @@ script = ExtResource( 2 )
use_parent_material = true use_parent_material = true
frames = ExtResource( 1 ) frames = ExtResource( 1 )
animation = "idle" animation = "idle"
frame = 1 frame = 3
playing = true playing = true
centered = false centered = false

View File

@ -14,6 +14,7 @@ func _ready():
hp = 7 hp = 7
func _physics_process(delta): func _physics_process(delta):
if Global.playing:
if not shooting: if not shooting:
shooting_timer += delta shooting_timer += delta
if shooting_timer >= 2.0: if shooting_timer >= 2.0:

View File

@ -75,6 +75,7 @@ func area_entered(area):
stunned_timer = .0 stunned_timer = .0
recharge_timer = .0 recharge_timer = .0
$Sprite.play("stun") $Sprite.play("stun")
parent.call_deferred("free")
func get_recharge(): func get_recharge():
var recharge = 2.0 var recharge = 2.0