boss start, some enemies
This commit is contained in:
parent
93968ff9fb
commit
66ecb04bd1
123 changed files with 1884 additions and 499 deletions
|
|
@ -32,11 +32,14 @@ func _physics_process(delta: float) -> void:
|
|||
else:
|
||||
_handle_attack_charge(delta)
|
||||
|
||||
main_visual.flip_h = target_node.position.x > position.x
|
||||
scale = Vector2.ONE * (1 + (current_charge * 0.2))
|
||||
_sprite_anim()
|
||||
|
||||
super._physics_process(delta)
|
||||
|
||||
func _sprite_anim():
|
||||
main_visual.flip_h = target_node.position.x > position.x
|
||||
scale = Vector2.ONE * (1 + (current_charge * 0.2))
|
||||
|
||||
func _handle_attack_charge(delta):
|
||||
current_charge += delta
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue