aboutsummaryrefslogtreecommitdiffstats
path: root/Enemy0.gd
diff options
context:
space:
mode:
authorfreddie-a <57713959+freddie-a@users.noreply.github.com>2022-10-29 23:16:03 +0100
committerfreddie-a <57713959+freddie-a@users.noreply.github.com>2022-10-29 23:16:03 +0100
commit6d389367e55365c0d993e23d93a3e60ade51c844 (patch)
tree2bbea616bae1bbb1982617a16a2fcf8fde4fd1d0 /Enemy0.gd
parent50b7eb11fe309582002d2fb70742d1c1e6d03d92 (diff)
Change bullet sprite and accelerate spawning
Diffstat (limited to 'Enemy0.gd')
-rw-r--r--Enemy0.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Enemy0.gd b/Enemy0.gd
index ecfb99c..625762a 100644
--- a/Enemy0.gd
+++ b/Enemy0.gd
@@ -14,4 +14,4 @@ func _ready():
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
- move_and_collide(global_position.direction_to(globals.playerPos).normalized() * 2)
+ move_and_collide(global_position.direction_to(globals.playerPos).normalized() * 1000 * delta)