-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (50 loc) · 1.43 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
<!--
This HTML file is merely an example of how to embed the game within a webpage.
It can be embedded anywhere with HTML elements that have IDs `game` and `pause_button`
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Muffin Game Template</title>
<style>
:root {
--arcade-font: "Ubuntu", "Roboto", sans-serif;
}
body {
padding: 0;
margin: auto auto;
background: #993f70;
color: #eee;
text-align: center;
margin-top: 2em;
font-family: sans;
}
canvas {
border: 2px solid black;
margin: auto;
}
main {
margin: auto;
}
</style>
</head>
<body>
<main>
<h1>Muffin Game Template</h1>
<div id="help_text">Boilerplate for a simple HTML5 game using PixiJS</div>
<div id="game"></div>
<button type="button" id="pause_button">Pause</button>
<p>
<small>
<a href="https://rainey.tech">made by tassaron</a> - <a href="https://github.com/tassaron/muffin-game">source code on github</a>
</small>
</p>
</main>
<!--
<script src="https://pixijs.download/release/pixi.js"></script>
<script type="module" src="src/main.js"></script>
-->
<script src="bundle.js"></script>
</body>
</html>