virtualx-engine/demos/2d/texscreen/bubbles.gd
2016-04-02 14:39:08 +02:00

11 lines
180 B
GDScript

extends Control
# Member variables
const MAX_BUBBLES = 10
func _ready():
for i in range(MAX_BUBBLES):
var bubble = preload("res://lens.tscn").instance()
add_child(bubble)