Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

scroll

Description

Moves the camera by the specified amount on both axes.

Arguments

1 number x

the amount to move the X coordinate by.

2 number y

the amount to move the Y coordinate by.

Example

-- move the camera 50 pixels to the right

camera:scroll(50, 0)