-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
76 lines (57 loc) · 1.85 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<title>Basic Game Template</title>
<!-- Add Javascript or game libraries here-->
<script src="libraries/jquery-2.1.3.min.js" type="text/javascript"></script><!-- Web Manipulation-->
<script src="libraries/howler.min.js" type="text/javascript"></script> <!-- Audio, http://goldfirestudios.com/blog/104/howler.js-Modern-Web-Audio-Javascript-Library -->
<script src="libraries/jquery.hotkeys.js" type="text/javascript"></script> <!-- Keyboard mapping, https://github.com/tzuryby/jquery.hotkeys -->
<script src="libraries/sprite.js" type="text/javascript"></script> <!-- Sprite Mapping, -->
<script src="libraries/map.js" type="text/javascript"></script> <!-- Object and Level Mapping, -->
<script src="libraries/tile.js" type="text/javascript"></script> <!-- Tile Mapping, -->
<script src="libraries/jquery.ripples.js"></script>
</head>
<body>
<style>
html {
width: 100%;
height: 100%;
margin: 0;
}
body {
width: 100%;
height: 100%;
margin: 0;
background-color: #0077BE;
}
#GameCanvasScreen{
padding-left: 0;
padding-right: 0;
margin-left: auto;
margin-right: auto;
display: block;
}
</style>
<script src="main.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$('body').ripples({
resolution: 512,
dropRadius: 20, //px
perturbance: 0.04,
});
// $('main').ripples({
// resolution: 128,
// dropRadius: 10, //px
// perturbance: 0.04,
// interactive: false
// });
// }
});
</script>
</body>
</html>