]>
git.r.bdr.sh - rbdr/sumo/blob - lib/config.js
2 Changes the stiffness on the node when it's less extended
10 * How many pixels to use per meter
12 * @property {number} meterSize
18 * Aspect Ratio the aspect ratio expressed as an array of two numbers
20 * @property {number} aspectRatio
23 aspectRatio: [2.76, 1],
26 * Target vertical resolution
28 * @property {number} verticalResolution
31 verticalResolution: 224,
34 * The points needed to win
36 * @property {number} maxPoints
44 * The horizontal resolution of the screen
46 * @property {number} horizontalResolution
49 config
.horizontalResolution
= Math
.round(config
.verticalResolution
* config
.aspectRatio
[0] / config
.aspectRatio
[1]);
51 export default config
;