<!doctype html> <html> <head> <meta charset=utf-8 /> <title>Super Mario HTML5</title> <link href="Content/style.css" rel="stylesheet" /> </head> <body> <div id="game"> <div id="world"> </div> <div id="coinNumber" class="gauge">0</div> <div id="coin" class="gaugeSprite"></div> <div id="liveNumber" class="gauge">0</div> <div id="live" class="gaugeSprite"></div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="Scripts/testlevels.js"></script> <script src="Scripts/oop.js"></script> <script src="Scripts/keys.js"></script> <script src="Scripts/sounds.js"></script> <script src="Scripts/constants.js"></script> <script src="Scripts/main.js"></script> </body> </html>
$(document).ready(function() { var sounds = new SoundManager();//** var level = new Level('world');//world is the id of the corresponding DOM container level.setSounds(sounds);//* level.load(definedLevels[0]); level.start(); keys.bind(); });
@font-face { font-family: 'SMB'; src: local('Super Mario Bros.'), url('fonts/Super Mario Bros.ttf') format('truetype'); font-style: normal; }
Keltongames Commented:
Thanks. This is going to be fun!