main.js 224 B

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