-
Notifications
You must be signed in to change notification settings - Fork 1
/
survival.html
51 lines (44 loc) · 1.77 KB
/
survival.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<title>Beast Land</title>
<meta content="" name="description">
<meta content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width" name="viewport">
<meta content="yes" name="mobile-web-app-capable">
<meta content="yes" name="apple-mobile-web-app-capable">
<link href="images/monster.png" rel="icon" sizes="192x192">
<link href="images/monster-128.png" rel="icon" sizes="128x128">
<link href="images/monster-128.png" rel="apple-touch-icon" sizes="128x128">
<link href="images/monster-128.png" rel="apple-touch-icon-precomposed" sizes="128x128">
<!-- build:css(.tmp) styles/main.css -->
<link href="styles/main.css" rel="stylesheet">
<!-- endbuild -->
<!-- components:js -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/pixi.min.js"></script>
<!-- end -->
<!-- being:js -->
<script src="scripts/being/renderers/pixi.js"></script>
<!-- end -->
<!-- config:js -->
<script src="scripts/beast/config.js"></script>
<script src="scripts/beast/render_config.js"></script>
<!-- end -->
<!-- beast:js -->
<script src="scripts/beast/beast.js"></script>
<!-- end -->
</head>
<body>
<!-- Add your site or application content here -->
<div class="ui-container">
<div id="game-container" loader on-load="load(level_json)">
<canvas class="entityboard" id="entityboard"></canvas>
</div>
</div>
<script>
var the_horror = new Game('entityboard', {}, "survival");
the_horror.start()
</script>
</body>
</html>