-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
25 lines (23 loc) · 958 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>2D sidescroller test</title>
</head>
<body>
<textarea rows="5" cols="30" id="loadLevel">.x.............
...............
...............
.....####......
...............</textarea>
<input type="submit" value="Create your own level, dood!" onclick="loadLevel(document.getElementById('loadLevel').value); startGame();"/>
<br />
<canvas id="canvas" style="border: 1px solid black"></canvas>
<script src="js/config.js" type="text/javascript"></script>
<script src="js/controls.js" type="text/javascript"></script>
<script src="js/movingElement.js" type="text/javascript"></script>
<script src="js/platform.js" type="text/javascript"></script>
<script src="js/loadLevel.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
</body>
</html>