This commit is contained in:
parent
90256944ab
commit
42e6881453
12 changed files with 80 additions and 19 deletions
|
@ -56,7 +56,7 @@ func spawn(item: WaveEnemy):
|
|||
print("Spawning Boss!")
|
||||
spawn_loc = Vector2(1920/2, 1080/2)
|
||||
else:
|
||||
for i in range(100):
|
||||
for i in range(1000):
|
||||
var test_pos = Vector2(randf(), randf()) * Vector2(1920, 1080)
|
||||
if not $"../CollisionCheck".is_clear(test_pos, item.check_distance):
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue