html
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
<!DOCTYPE html>
<!-- I finished this, and it was the wrong size. Currently adjusting! My first game for Sololearn!!-->
<!-- Only hit play for now, and you won't get trapped. Posted 6/17/19-->
<!-- 102 votes?! Thanks so much Sololearn! More games to come for sure!-->
<!-- I'll create a Google form for scores hopefully soon, and I'll put the link in the code.-->
<html>
<head>
<meta charset="utf-8">
<title>POLYJUMP</title>
<link href="https://fonts.googleapis.com/css?family=Audiowide|Unica+One" rel="stylesheet">
<style>
body {
}
canvas {
position: absolute;
left: 0px;
top: 0px;
}
</style>
</head>
<body id="body">
<canvas id="game" width="525px" height="550px"></canvas>
<!-- Green Ghost's HTML Canvas Library -->
<script>
// Get the body element.
var body = document.getElementById("body");
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
body {
}
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run