51 lines
No EOL
1 KiB
HTML
51 lines
No EOL
1 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
|
|
<title>Tile Game</title>
|
|
|
|
<!--Scripts-->
|
|
<script src="code/external/jquery.js"></script>
|
|
<script src="code/helpers.js"></script>
|
|
<script src="code/files.js"></script>
|
|
<script src="code/tileset.js"></script>
|
|
<script src="code/tile.js"></script>
|
|
<script src="code/tileengine.js"></script>
|
|
<script src="code/level.js"></script>
|
|
<script src="code/animation.js"></script>
|
|
<script src="code/player.js"></script>
|
|
<script src="code/main.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
onDOMReady();
|
|
});
|
|
</script>
|
|
<!--Scripts End-->
|
|
|
|
<style type="text/css">
|
|
#container {
|
|
position: absolute;
|
|
width: 512px;
|
|
height: 512px;
|
|
border: 1px solid black;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-left: -256px;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="container">
|
|
<canvas id="canvas"></canvas>
|
|
</div>
|
|
</body>
|
|
</html> |