orbit/dev/popup-shot.html

36 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Orbit — dev: mining popup shot</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>
/* The game typefaces (see data/theme.json) the menu measures its
buttons in the WEB font, so the probe must load them too (the same
contract as index.html / js/main.js). -->
@font-face {
font-family: 'Ethnocentric';
src: url('assets/fonts/Ethnocentric-Regular.otf') format('opentype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Centauri';
src: url('assets/fonts/FontsFree-Net-Centauri.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
html, body { margin: 0; height: 100%; background: #04060d; overflow: hidden; }
</style>
<script src="lib/phaser.min.js"></script>
</head>
<body>
<div id="game"></div>
<script type="module" src="dev/popup-shot.mjs"></script>
</body>
</html>