Deprecated: str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124
Game dev studio

Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

move

Description

Moves the camera to the specified X/Y coordinates.

Arguments

1 number x

the X axis to set the camera position to. number-y-the Y axis to set the camera position to.

Example

-- move the camera to the specified position of 500/1500 on the X/Y axes

camera:move(500, 1500)