27 lines
1.0 KiB
HTML
27 lines
1.0 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>orbit — hold across game entry (dev test)</title>
|
|
<!-- This page lives in /dev, but the game's relative asset paths are
|
|
rooted at the project root — resolve them against it. -->
|
|
<base href="../" />
|
|
<style>
|
|
html, body { margin: 0; padding: 0; height: 100%; background: #0a0e14; }
|
|
body { display: flex; align-items: center; justify-content: center; }
|
|
</style>
|
|
<script>
|
|
window.__BOOT_ERRORS__ = [];
|
|
window.addEventListener('error', (e) =>
|
|
window.__BOOT_ERRORS__.push(String(e.message) + ' @ ' + (e.filename || '') + ':' + e.lineno));
|
|
window.addEventListener('unhandledrejection', (e) =>
|
|
window.__BOOT_ERRORS__.push('reject: ' + ((e.reason && e.reason.stack) || e.reason)));
|
|
</script>
|
|
<script src="lib/phaser.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="module" src="dev/hold-restore.mjs"></script>
|
|
</body>
|
|
</html>
|