added main memu
This commit is contained in:
parent
e446938ba7
commit
ae936275b7
10 changed files with 224 additions and 8 deletions
|
@ -4,6 +4,8 @@ extends Marker2D
|
|||
@export var random_on_screen = false
|
||||
|
||||
func spawn():
|
||||
if get_tree().paused:
|
||||
return
|
||||
for i in range(10):
|
||||
var test_pos = Vector2(randf(), randf()) * Vector2(1920, 1080)
|
||||
if not $"../CollisionCheck".is_clear(test_pos):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue