-
Notifications
You must be signed in to change notification settings - Fork 1
/
kongregate.html
42 lines (38 loc) · 892 Bytes
/
kongregate.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, user-scalable=no">
<title>The END of the WORLD</title>
<script src='http://www.kongregate.com/javascripts/kongregate_api.js'></script>
<style>
* {
overflow: hidden;
border: 0px;
margin: 0px;
padding: 0px;
}
</style>
</head>
<body>
<section>
<div>
<canvas id="g" width="800" height="600" style="height: 100vh;" style="touch-action: none;">
Your browser does not support HTML5.
</canvas>
</div>
</section>
<script type="text/javascript" src="min.kon.g.js"></script>
<script>
var kongregate;
// Load the API
kongregateAPI.loadAPI(onComplete);
// Callback function
function onComplete(){
// Set the global kongregate API object
kongregate = kongregateAPI.getAPI();
setup();
}
</script>
</body>
</html>