How to use the settings function from global

Find comprehensive JavaScript global.settings code examples handpicked from public code repositorys.

3
4
5
6
7
8
9
10
11
12
var global = require('global');
var sounds = require('sounds');
var scene = require('scene');
var utils = require('utils');

var settings = global.settings;

function preload() {
  global.phaserGame.stage.scaleMode = Phaser.StageScaleMode.SHOW_ALL;
  global.phaserGame.stage.scale.setScreenSize(true);
fork icon8
star icon34
watch icon4

+ 10 other calls in file