-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (51 loc) · 1.69 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="user-scalable=0, initial-scale=1.0" />
<title>Oscillator: by Mr Speaker</title>
<link rel="stylesheet" href="res/main.css">
</head>
<body>
<!--
Oscillator: by Mr Speaker
for the #cyberpunkjam
(@mrspeaker | www.mrspeaker.net)
-->
<section>
<div id="fsboard">
<canvas id="board"></canvas>
</div>
<div id="sous"></div>
<div id="credits">
by <a href="http://www.mrspeaker.net/">Mr Speaker</a>. Go
<span id="fs">fullscreen</span> mode.
</div>
</section>
<!-- libs -->
<script src="lib/jquery-2.1.0.js"></script>
<script src='lib/Box2dWeb/Box2dWeb-2.1.a.3.js'></script>
<script src="lib/Ω500.js"></script>
<!-- Game -->
<script src="src/DATA.js"></script>
<script src="src/physics/Physics.js"></script>
<script src="src/game.js"></script>
<script src="src/fx/Smoke.js"></script>
<script src="src/fx/Detonate.js"></script>
<script src="src/entities/Bomb.js"></script>
<script src="src/entities/Missile.js"></script>
<script src="src/entities/Building.js"></script>
<script src="src/entities/Player.js"></script>
<script src="src/screens/TitleScreen.js"></script>
<script src="src/screens/MainScreen.js"></script>
<script>
var game = new OmegaGame(750, 300);
document
.querySelector("#fs")
.addEventListener("click", function () {
Ω.utils.fullscreen.toggle("#fsboard");
}, false);
</script>
</body>
</html>