feat: add version information
This commit is contained in:
parent
57aa65b77d
commit
635d250d71
|
@ -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"
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue