Switch live game to sprite sheets
This commit is contained in:
parent
483edf66db
commit
fdd4096dba
@ -70,7 +70,7 @@
|
|||||||
<button class="mobile-control restart" data-code="KeyR" data-key="r" data-keycode="82" aria-label="Restart">↻</button>
|
<button class="mobile-control restart" data-code="KeyR" data-key="r" data-keycode="82" aria-label="Restart">↻</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="module" src="/src/game-v2.js"></script>
|
<script type="module" src="/src/game-v3.js"></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
const dispatchKey = (type, button) => {
|
const dispatchKey = (type, button) => {
|
||||||
const keyCode = Number(button.dataset.keycode);
|
const keyCode = Number(button.dataset.keycode);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user