1 2 3 4 5 6 7 8 9 10 11
extends Control # Member variables const MAX_BUBBLES = 10 func _ready(): for i in range(MAX_BUBBLES): var bubble = preload("res://lens.scn").instance() add_child(bubble)