Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
micheleciondolo authored May 17, 2024
1 parent f365dca commit d66c138
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/gameover.js"></script>
<script type="text/javascript" src="js/intro.js"></script>
<script type="text/javascript" src="js/haivinto.js"></script>
<script src="howler/howler.js"></script>
<script>
var mainMusic = new Howl({
src: ['music/pixelland.mp3']
});
</script>
<style type="text/css">
body {
margin: 0;
overflow: hidden;
}
</style>
<script type="text/javascript">

(function() {

//Create a new game that fills the screen
Expand All @@ -29,6 +37,8 @@
game.state.add("Main", Main);
game.state.add("GameOver", GameOver);
game.state.add("Intro", Intro);
game.state.add("HaiVintoFratello", HaiVintoFratello);


//Start the first state
game.state.start("Boot");
Expand Down

0 comments on commit d66c138

Please sign in to comment.