Skip to content

Latest commit

 

History

History
60 lines (48 loc) · 1.58 KB

index.md

File metadata and controls

60 lines (48 loc) · 1.58 KB
<title>BooTyHunTer</title> <style> html{ height:100%; width:100%; } body{ height:100%; width:100%; background-image:url("assets/customTreasureMap.png"); background-repeat:repeat-x; margin:0px; } canvas { border:5px groove black; margin:auto; }
</style>
<script type='text/javascript' src='phaser.min.js'></script>
<!--<meta name="viewport" content="initial-scale=1 maximum-scale=1 user-scalable=0" />-->

   <!-- <script type='text/javascript'  src='maze.js'></script> -->
<script src = "enemyWeapons.js"></script>
<script src = "storage.js"></script>
<script src="ship.js"></script><!-- HTML5 assumes the script type is JS. no need to explictly call it-->
<script type='text/javascript'  src='game.js'></script>
<!-- START SOUND CODE V4.1a HTML5 -->
<script type="text/javascript">

    // PLAYER VARIABLES

    var mp3snd = "assets/your-sound.mp3";

    document.write('<audio autoplay="autoplay">');
    document.write('<source src="'+mp3snd+'" type="audio/mpeg">');
    document.write('<!--[if lt IE 9]>');
    document.write('<bgsound src="'+mp3snd+'" loop="1">');
    document.write('<![endif]-->');
    document.write('</audio>');

</script>
<br>
<!-- END SOUND CODE V4.1a -->