KOD WORLD - 2 LEKCJA
Kandif
swift
a year ago
231 B
30
Indexable
Never
extends Node2D var projectile_scene = preload("res://projectile.tscn") var score = 0 func _on_timer_timeout(): var projectile = projectile_scene.instantiate() add_child(projectile) projectile.position.x = randf_range(50,1100)