Skip to content

Commit

Permalink
Step 3.5: Set splash screen as the initial game screen
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB committed Aug 29, 2018
1 parent 4de6000 commit 3af0d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/scripts/main.js
@@ -1,5 +1,5 @@
document.addEventListener("DOMContentLoaded", function(event) {
let game = new Engine.Game(document.getElementById("gameCanvas"), false);
game.changeScreen(TestScreen);
game.changeScreen(Game.Screens.Splash);
game.play();
});

0 comments on commit 3af0d74

Please sign in to comment.