bevyjam/index.html

87 lines
2.3 KiB
HTML
Raw Normal View History

2022-08-21 17:17:55 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
2022-08-27 16:56:54 +00:00
<title>Lux synthesĕ</title>
2022-08-27 22:10:41 +00:00
<style type="text/css">
@font-face {
font-family: UacariLegacy;
font-weight: normal;
src: url("assets/UacariLegacy-Regular.ttf");
}
@font-face {
font-family: UacariLegacy;
font-weight: bold;
src: url("assets/UacariLegacy-Bold.ttf");
}
@font-face {
font-family: UacariLegacy-Thin;
src: url("assets/UacariLegacy-Thin.ttf");
}
html, body {
font-family: UacariLegacy;
margin: 0;
padding: 0;
background-color: #222;
}
body {
display: flex;
flex-flow: column;
color: white;
}
h1, h2 {
font-family: UacariLegacy-Thin;
font-weight: normal;
}
canvas {
order: 1;
max-width: 100vw;
max-height: 100vh;
margin: auto;
}
#readme {
order: 2;
width: 640px;
max-width: 100vw;
padding: 8px;
margin: auto;
}
a, a:visited {
color: #f80;
}
</style>
2022-08-21 17:17:55 +00:00
</head>
<body>
<script type="module">
2022-08-27 22:10:41 +00:00
import init from './target/lux-synthese.js'
2022-08-21 17:17:55 +00:00
init()
</script>
<!-- workaround to be sure the browser will request permission to autoplay audio -->
<audio autoplay src="assets/silence.wav"></audio>
2022-08-27 22:10:41 +00:00
<div id="readme">
2022-08-27 16:56:54 +00:00
<h1>Lux synthesĕ</h1>
<p>
<strong>If audio does not work, please allow media autoplay in browser, then refresh this page.</strong>
2022-08-27 16:56:54 +00:00
</p>
<h2>Controls</h2>
<ul>
<li><strong>Move</strong>: Arrows</li>
<li><strong>Switch</strong>: Tab</li>
<li><strong>Level up</strong>: Enter</li>
<li><strong>Reset</strong>: R</li>
</ul>
<h2>Source</h2>
<p>
The source code of this free software is available in our <a href="https://git.txmn.tk/tuxmain/bevyjam/">Git repository</a>.
</p>
<p>
GNU AGPL v3: CopyLeft 2022 Pascal Engélibert, Nixon Cheng<br/>
2022-08-27 22:10:41 +00:00
Lux synthesĕ is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.<br/>
Lux synthesĕ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.<br/>
You should have received a copy of the GNU Affero General Public License along with Lux synthesĕ. If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.
2022-08-27 16:56:54 +00:00
</p>
</div>
2022-08-21 17:17:55 +00:00
</body>
</html>