Untitled

KOD WORLD LEKCJA 2
 avatar
unknown
swift
2 years ago
216 B
59
Indexable
extends Node2D

var projectile_scene = preload("res://projectile.tscn")

func _on_timer_timeout():
	var projectile = projectile_scene.instantiate()
	add_child(projectile)
	projectile.position.x = randf_range(50,1050)
Editor is loading...