-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 34d9b9f
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>TheGame</title> | ||
<style> | ||
html, | ||
body { | ||
margin: 0; | ||
|
||
} | ||
|
||
*:focus { | ||
outline: none; | ||
overflow: hidden; | ||
} | ||
|
||
canvas { | ||
margin: 0px; | ||
padding: 0px; | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
position: absolute; | ||
background: black; | ||
z-index: 0; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<canvas id="glcanvas" tabindex='1'></canvas> | ||
<!-- Minified and statically hosted version of https://github.com/not-fl3/macroquad/blob/master/js/mq_js_bundle.js --> | ||
<script src="https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js"></script> | ||
<script>load("macroquad-test.wasm");</script> <!-- Your compiled wasm file --> | ||
</body> | ||
|
||
</html> |
Binary file not shown.