main.js 236 B

1234567891011
  1. // This script is the main entry point of the game
  2. //Load scene
  3. Atomic.player.loadScene("Scenes/Scene.scene");
  4. exports.update = function() {
  5. if (Atomic.input.getKeyDown(Atomic.KEY_ESCAPE)) {
  6. Atomic.engine.exit();
  7. }
  8. }