Compare commits
No commits in common. "cb65aa03330896a2e04a766096a41c7bdfb379e1" and "ece77430a7bd7a2e7a5a374bbe7cdff6167b61ad" have entirely different histories.
cb65aa0333
...
ece77430a7
|
@ -68,8 +68,8 @@ func _shoot():
|
|||
bullet = bullet_preload.instance()
|
||||
bullet.target = target
|
||||
get_parent().add_child(bullet)
|
||||
bullet.global_position.x = self.global_position.x + 8
|
||||
bullet.global_position.y = self.global_position.y + 8
|
||||
bullet.global_position.x = self.global_position.x + 12
|
||||
bullet.global_position.y = self.global_position.y - 4
|
||||
|
||||
func _draw():
|
||||
if target != null and is_instance_valid(target):
|
||||
|
|
Loading…
Reference in New Issue