Professional Documents
Culture Documents
Func - Process (Delta)
Func - Process (Delta)
func generar():
var enem = pla.instance()
$Plataforma/Path2D/PathFollow2D.offset = randi()
enem.global_position.x = $Plataforma/Path2D/PathFollow2D.global_position.x
enem.global_position.y = $Player.global_position.y - 30
add_child(enem)