made launch rigid more generic
This commit is contained in:
parent
65a4fd8742
commit
40e10663d6
7 changed files with 158 additions and 19 deletions
|
@ -27,3 +27,7 @@ func _physics_process(delta):
|
|||
direction *= -1
|
||||
if position.y <= startpos.y - (up_boundary):
|
||||
direction *= -1
|
||||
|
||||
func die():
|
||||
.die()
|
||||
Game.instance_node(load("res://objects/enemy/tin_die.tscn"),position.x,position.y,get_parent())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue