-
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
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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,24 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
</head> | ||
|
||
<body style="background-color:#000000"> | ||
<canvas style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%)" id="canvas" oncontextmenu="event.preventDefault()"></canvas> | ||
|
||
<!-- Allow the C++ to access the canvas element --> | ||
<script type='text/javascript'> | ||
var Module = { | ||
canvas: (function() { return document.getElementById('canvas'); })() | ||
}; | ||
</script> | ||
|
||
<!-- Add the javascript glue code (index.js) as generated by Emscripten --> | ||
<script src="MegaBoy.js"></script> | ||
|
||
</body> | ||
|
||
</html> |