I assumed it's done via parallax combined with scaling sprites towards center of the screen, but I can't find appropriate function for it. Alternatively, If it can be done by using correct sets of variables, I'd really appreciate if someone show me an example or point me to right direction.