Untitled
Anonymous
Plain Text
09/20/2022 4:10 PM
307 B
41
Indexable
Never
extends Node2D
onready var timer = $Timer
var sopel = preload("res://Sopel.tscn")
func spawn_icicle():
var icicle = sopel.instance()
add_child(icicle)
icicle.position.x = rand_range(50,950)
func _ready():
pass # Replace with function body.
func _on_Timer_timeout():
spawn_icicle()
Editor is loading...