Skip to content
Snippets Groups Projects
Unverified Commit dd8f1565 authored by Bye's avatar Bye Committed by GitHub
Browse files

whoops

parent 7ae3fa00
No related branches found
No related tags found
No related merge requests found
build/aimerthing.png

130 B

build/arw.png

109 B

This diff is collapsed.
build/cursor.png

124 B

build/gun.png

111 B

build/hamster.png

311 B

build/human.png

315 B

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Death by Hamster</title>
<style>
body {
background:rgb(22, 22, 22);
}
#gameCanvas {
display: block;
margin: auto;
width: 1200px;
height: 800px;
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-crisp-edges;
image-rendering: pixelated;
cursor: none;
}
/* if the canvas can't fit the screen, shrink it, maintaining the aspect ratio */
aside {
float:left;
}
aside pre {
color: white;
}
@media screen and (max-height: 800px) {
#gameCanvas {
width: auto;
height: 100%;
}
}
</style>
<aside >
<pre id="leveltext"></pre>
<p id="levelLink"></p>
</aside>
<canvas width="600" height="400" id="gameCanvas">
</canvas>
<script src="./code.js"></script>
\ No newline at end of file
build/t.png

1019 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment