Skip to content

Commit

Permalink
Add instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
depsypher committed Jun 25, 2024
1 parent 829fc77 commit 73d104a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ https://depsypher.github.io/gojoust/
* Press `S` key to toggle sound
* Press `P` key to toggle pause
* Press `G` key to toggle god/debug mode
* Press `C` key to toggle CRT mode
26 changes: 26 additions & 0 deletions wasm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,37 @@
top: 120px;
border: none;
}
.card {
position: absolute;
width: 121px;
height: 169px;
left: 852px;
top: 228px;
color: #d3d3d3;
background: #1d1d4f;
font-family: Arial, Helvetica, sans-serif;
font-size: 0.65rem;
}
.controls {
padding: 0.5rem;
}
.controls div {
margin: 0.3rem 0;
}
</style>

<div class="outer">
<div class="wrapper">
<iframe src="main.html" width="100%" height="100%" class="frame"></iframe>
<div class="bezel"></div>
<div class="card">
<div class="controls">
<div><strong>Control:</strong> &#x2B05; &#x27A1; space</div>
<div><strong>S:</strong> sound</div>
<div><strong>P:</strong> pause</div>
<div><strong>G:</strong> god mode</div>
<div><strong>C:</strong> CRT mode</div>
</div>
</div>
</div>
</div>

0 comments on commit 73d104a

Please sign in to comment.