main.js 399 B

123456789101112
  1. // This script is the main entry point of the game
  2. //Load scene
  3. if(Atomic.platform == "Android" || Atomic.platform == "iOS") {
  4. Atomic.renderer.reuseShadowMaps = false;
  5. Atomic.renderer.shadowQuality = Atomic.ShadowQuality.SHADOWQUALITY_SIMPLE_16BIT;
  6. } else {
  7. Atomic.renderer.shadowMapSize = 2048;
  8. }
  9. Atomic.input.setMouseVisible(false);
  10. Atomic.player.loadScene("Scenes/ToonTown.scene");