Compare commits
3 Commits
534a834213
...
602c9a26f2
Author | SHA1 | Date |
---|---|---|
Luna Brovchuk | 602c9a26f2 | |
Luna Brovchuk | 8b62f84ca3 | |
Luna Brovchuk | 573be1862c |
|
@ -3,7 +3,6 @@
|
|||
[ext_resource path="res://res/fonts/silkscreen/Silkscreen-Regular.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[sub_resource type="DynamicFont" id=1]
|
||||
size = 8
|
||||
font_data = ExtResource( 1 )
|
||||
|
||||
[resource]
|
||||
|
|
|
@ -22,7 +22,7 @@ script = ExtResource( 2 )
|
|||
use_parent_material = true
|
||||
frames = ExtResource( 1 )
|
||||
animation = "idle"
|
||||
frame = 1
|
||||
frame = 3
|
||||
playing = true
|
||||
centered = false
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ func _ready():
|
|||
hp = 7
|
||||
|
||||
func _physics_process(delta):
|
||||
if Global.playing:
|
||||
if not shooting:
|
||||
shooting_timer += delta
|
||||
if shooting_timer >= 2.0:
|
||||
|
|
|
@ -75,6 +75,7 @@ func area_entered(area):
|
|||
stunned_timer = .0
|
||||
recharge_timer = .0
|
||||
$Sprite.play("stun")
|
||||
parent.call_deferred("free")
|
||||
|
||||
func get_recharge():
|
||||
var recharge = 2.0
|
||||
|
|
Loading…
Reference in New Issue