Merge branch 'main' of http://meowo.cc:3000/meowo/LD54
commit
a3cf0bf632
|
@ -68,8 +68,8 @@ func _shoot():
|
||||||
bullet = bullet_preload.instance()
|
bullet = bullet_preload.instance()
|
||||||
bullet.target = target
|
bullet.target = target
|
||||||
get_parent().add_child(bullet)
|
get_parent().add_child(bullet)
|
||||||
bullet.global_position.x = self.global_position.x + 12
|
bullet.global_position.x = self.global_position.x + 8
|
||||||
bullet.global_position.y = self.global_position.y - 4
|
bullet.global_position.y = self.global_position.y + 8
|
||||||
|
|
||||||
func _draw():
|
func _draw():
|
||||||
if target != null and is_instance_valid(target):
|
if target != null and is_instance_valid(target):
|
||||||
|
|
Loading…
Reference in New Issue