added green attack, enemy
This commit is contained in:
parent
f852b0a30e
commit
2bf9db610e
43 changed files with 673 additions and 246 deletions
|
|
@ -17,5 +17,8 @@ func _physics_process(delta: float) -> void:
|
|||
rotation += rot_speed * delta
|
||||
position += dir * speed * delta
|
||||
|
||||
func _on_hitbox_collided() -> void:
|
||||
func _on_hitbox_hit_obstacle() -> void:
|
||||
queue_free()
|
||||
|
||||
func _on_hitbox_hit_entity(entity: Entity) -> void:
|
||||
queue_free()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue