virtualx-engine/demos/2d/texscreen/bubbles.gd
2015-12-09 08:39:12 +01:00

11 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)