This commit is contained in:
James
2023-12-04 19:57:09 +00:00
parent 8a6bc5937c
commit 20a92b40d9
4 changed files with 6 additions and 12 deletions

View File

@@ -3,6 +3,7 @@ var root
func create_map(_root):
root=_root
poolcircle(Vector2(0,0),2000,100,1000,1000,1000)
root.get_node("Camera2D").zoom=Vector2(0.2,0.2)
func poolcircle(pos: Vector2, radius, count, r,g,b):
for n in range(1,count+1):

View File

@@ -3,9 +3,9 @@ var root
func create_map(_root):
self.root=_root
poolcircle(Vector2(0,0),0,1,10,0,0)
poolcircle(Vector2(0,0),2000,100,0,5000,0)
root.get_node("Camera2D").zoom=Vector2(0.3,0.3)
func poolcircle(pos: Vector2, radius, count, r,g,b):
for n in range(1,count+1):
var new_pool: Pool = load("res://pool.tscn").instantiate()