-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (55 loc) · 2.42 KB
/
index.html
File metadata and controls
57 lines (55 loc) · 2.42 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>A Platform Game</title>
<meta name="description" content="A platform game based on Dark Blue from Eloquent JavaScript">
<!-- Open Graph data -->
<meta property="og:title" content="A Platform Game">
<meta property="og:site_name" content="A Platform Game">
<meta property="og:description" content="A platform game based on Dark Blue from Eloquent JavaScript">
<meta property="og:type" content="website">
<meta property="og:url" content="https://rubychi.github.io/eloquentjs-a-platform-game">
<meta property="og:image" content="">
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary">
<link rel="canonical" href="https://rubychi.github.io/eloquentjs-a-platform-game">
<!-- build:css assets/styles/game.css -->
<link rel="stylesheet" href="assets/styles/game.css">
<!-- endbuild -->
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-50077651-6', 'auto');
ga('send', 'pageview');
</script>
<!-- Hotjar Tracking Code for https://rubychi.github.io/eloquentjs-a-platform-game -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:619079,hjsv:5};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'//static.hotjar.com/c/hotjar-','.js?sv=');
</script>
</head>
<body>
<audio id="bgm" src="assets/sound/201-overworld-bgm.mp3" type="audio/mpeg" autoplay="autoplay"></audio>
<audio id="sound" type="audio/wav"></audio>
<!-- build:js assets/scripts/game.js -->
<script src="temp/scripts/game.js" charset="utf-8"></script>
<script src="temp/scripts/game_levels.js" charset="utf-8"></script>
<!-- endbuild -->
<script>
// runGame(GAME_LEVELS, DOMDisplay);
runGame(GAME_LEVELS, CanvasDisplay);
</script>
</body>
</html>