fix rat hp
parent
b2bed34467
commit
10e53ffc09
|
@ -4,6 +4,9 @@ onready var player = $"../../Player"
|
|||
var velocity = Vector2.ZERO
|
||||
var speed = 48
|
||||
|
||||
func _ready():
|
||||
hp = 15
|
||||
|
||||
func _process(delta):
|
||||
$Sprite.flip_h = true if player.global_position.x > self.global_position.x else false
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@ script = ExtResource( 2 )
|
|||
[node name="Sprite" type="AnimatedSprite" parent="."]
|
||||
frames = ExtResource( 1 )
|
||||
animation = "idle"
|
||||
frame = 2
|
||||
playing = true
|
||||
centered = false
|
||||
|
||||
|
|
Loading…
Reference in New Issue