forked from increpare/PuzzleScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstandalone.html
100 lines (93 loc) · 2.02 KB
/
standalone.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>__GAMETITLE__</title>
<style>
body {
background-color:black; /*don't modify this line at all, needs text to be the same*/
font-family:"Courier New", Courier, monospace
}
#gameCanvas {
position:absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
bottom: 0px;
right:0px;
border: 0px;
background-color: black; /*don't modify this line at all, needs text to be the same*/
}
h1 {
color:lightblue;/*don't modify this line at all, needs text to be the same*/
font-weight:normal;
}
a {
color:lightblue;/*don't modify this line at all, needs text to be the same*/
}
.title {
background-color:none;
text-align:center;
font-size:100%;
float:center;
color:gray;
position:absolute;
left:10%;
right:10%;
top:0%;
height:10%;
}
.footer {
background-color:none;
text-align:center;
float:center;
color:white;
position:absolute;
margin-top:10px;
left:10%;
right:10%;
top:90%;
bottom:10%;
}
.gameContainer {
background-color:none;
position:absolute;
left:10%;
right:10%;
top:70px;
bottom:70px;
}
</style>
</head>
<body>
<div class="title"><h1>__GAMETITLE__</h1></div>
<div class="gameContainer">
<canvas
id="gameCanvas"
onmousemove="mouseMove(event)"
onmouseout="mouseOut()"
onkeydown="keyDown()"
></canvas>
</div>
<div class="footer">
<span id="errormessage" style="color:red;"></span>
<a href="http://__HOMEPAGE__">__HOMEPAGE__</a>
</div>
<script src="js/globalVariables.js"></script>
<script src="js/debug_off.js"></script>
<script src="js/font.js"></script>
<script src="js/rng.js"></script>
<script src="js/riffwave.js"></script>
<script src="js/sfxr.js"></script>
<script src="js/codemirror/codemirror.js"></script>
<script src="js/colors.js"></script>
<script src="js/graphics.js"></script>
<script src="js/engine.js"></script>
<script src="js/parser.js"></script>
<script src="js/compiler.js"></script>
<script src="js/inputoutput.js"></script>
<script src="js/mobile.js"></script>
<script src="js/gamedat.js"></script>
</body>
</html>