new enemy work
This commit is contained in:
parent
783fc7c877
commit
6825cd59c9
12 changed files with 241 additions and 0 deletions
9
objects/enemies/belough/belough.gd
Normal file
9
objects/enemies/belough/belough.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
extends Enemy
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
position.x += move_speed * delta
|
||||
if position.x > 340.0: position.x = -22.0
|
||||
|
||||
|
||||
func _on_timer_timeout() -> void:
|
||||
shoot()
|
||||
Loading…
Add table
Add a link
Reference in a new issue