Skip to content
SecreTPT edited this page Jul 6, 2018 · 1 revision

Game.CamZoom(float zoom, float speed, bool tweenMode)

The camera zoom is based upon the cameras current view-port size which can be set by Game.CamMove. The zoom is a multiplier value of a floating point decimal value. The speed is the amount of pixels per second the camera will move. If tweenMode is true then the Camera will continue zooming to the new view-port. If set to false then the Camera will zoom for the duration of a following Game.Pause(int Seconds) command or until it reaches its destination, whichever comes first.

(Setting tweenMode to true automatically pauses the game)

Clone this wiki locally