Skip to content

Commit

Permalink
Web Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
anilkonac committed Mar 12, 2024
0 parents commit 34d9b9f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions index.html
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 added macroquad-test.wasm
Binary file not shown.

0 comments on commit 34d9b9f

Please sign in to comment.