mirror of
https://gitlab.com/octospacc/MultiSpaccSDK
synced 2025-06-05 22:09:21 +02:00
Add web build, unify screen update and frame wait function, update CI
This commit is contained in:
13
LibMultiSpacc/Examples/Emscripten.html
Normal file
13
LibMultiSpacc/Examples/Emscripten.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
</head>
|
||||
<body>
|
||||
<canvas id="canvas" oncontextmenu="event.preventDefault()"></canvas>
|
||||
<script> var Module = { canvas: (function(){ return document.getElementById('canvas') })() } </script>
|
||||
<script src="Emscripten.js"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user