World/gameWidth
World
gameWidth = 960
Default Value
960
Variable Type
Description
The desired width in pixels for the game's container.
This width will be used for containers on vylocity.com and in other areas that are in Vylocity's control. All content will scale with this width as the starting point and the engine will use this width to determine how much of the map is viewable if no
Client/mapView is defined.
Example Code
/* change the World/gameWidth to 800 */
World
gameWidth = 800
Related