feat: add version information

This commit is contained in:
thetek 2023-06-22 10:42:03 +02:00
parent 57aa65b77d
commit 635d250d71
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "invaders"
version = "0.1.0"
version = "0.1.1"
authors = ["thetek <git@thetek.de>"]
description = "space invaders written using webassembly, rust and webgl"
repository = "https://git.tjdev.de/thetek/invaders"

View File

@ -49,6 +49,9 @@
border: 2px solid #fff;
color: #fff;
}
#welcome p {
margin-top: -1rem;
}
button {
background: none;
border-radius: .25rem;
@ -72,6 +75,7 @@
<canvas id="canvas" width="800" height="600">This page contains WebGL content, please enable WebGL in your browser.</canvas>
<div id="welcome" class="overlay">
<h1>Invaders</h1>
<p>v0.1.1</p>
<button onclick="window.play_game()">Play</button>
</div>
<div id="success" class="overlay hidden">