-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.template.html
42 lines (34 loc) · 1.13 KB
/
index.template.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 http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>OpenFL and Royale Application</title>
<script type="text/javascript" src="./howler.js"></script>
<script type="text/javascript" src="./openfl.8.9.6-flashmandv.js"></script>
<script type="text/javascript" src="./actuate.js"></script>
<script type="text/javascript" src="./gsap.min.js"></script>
<script type="text/javascript" src="./Main.js"></script>
<script>
var flash = openfl;
</script>
<style>
html,body { margin: 0; padding: 0; height: 100%; overflow: hidden; }
</style>
${head}
</head>
<body>
<div id="game-holder" align="center" style="width: 1000px; height: 600px">
GAME WILL GO HERE
</div>
<!-- $ { b o d y } -->
<script type="text/javascript">
canvas = document.querySelector('canvas');
var myFont = new FontFace('COMPUTER Robot', 'url(assets/COMPUTERRobot.ttf) format("truetype")');
myFont.load().then(function(font){
document.fonts.add(font);
});
new Main();
</script>
</body>
</html>