godot/demos/2d/texscreen/bubbles.gd

12 lines
179 B
GDScript

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)