33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Orbit — dev scout overlap probe</title>
|
|
<!-- This page lives in /dev, but the game's relative asset paths are rooted
|
|
at the project root — resolve them against it. ("../" keeps this
|
|
working even if the project is served from a subdirectory.) -->
|
|
<base href="../" />
|
|
<style>
|
|
/* Same typefaces as index.html (the probe page doesn't include it), so
|
|
screenshots show the real Ethnocentric/Centauri canvas text. */
|
|
@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; }
|
|
#game { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
|
|
</style>
|
|
<script src="lib/phaser.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="game"></div>
|
|
<script type="module" src="dev/scout-overlap.mjs"></script>
|
|
</body>
|
|
</html>
|