Commit Graph
9 Commits
Author SHA1 Message Date
robert a5a6f32037 Add a sound warning and mute guide
Page visitors may be surprised by the sounds and not know how to turn
them off. The answer is "you don't", but practically the browser tab can
be muted instead.
2025-12-19 13:36:48 -06:00
robert 4d899d3c97 Improved "load game" button, now with elem swap
Basic checks / Basic build-and-test supertask (push) Failing after 1m3s
The canvas element no longer exists in the page source. Instead, there
is a div styled to look similar and contain a button. The button is
styled to match the ones in the Bevy app. When pressed, the button
creates the canvas element, replaces the fake canvas div, and loads the
WASM to do it's thing.
2025-12-19 13:27:42 -06:00
robert 6d5afc2445 Add a basic "load game" button
This will ensure the user has interacted with the page before the game
starts, thus allowing the sound to play correctly.

It doesn't re-load the game if the user quits. I'd like to figure out
how to do that.

The need to push the button isn't immediately obvious. It should be over
top (or in place of) the canvas to best convey that the user must start
the game.
2025-12-19 11:46:18 -06:00
robert 8fc9e682cc Release v0.5.0
Basic checks / Basic build-and-test supertask (push) Failing after 28s
2025-11-15 15:18:54 -06:00
robert be83be1a7b Compress the WASM file for even more space savings 2025-11-15 15:16:37 -06:00
robert 5af59863a1 Release v0.4.0, now includes lockfile
Basic checks / Basic build-and-test supertask (push) Successful in 6m23s
The only real change was the addition of some CSS. I'm recording the
lockfile so that consumers can more reliably build the same binary each
time.
2025-11-08 12:31:29 -06:00
robert 3c9a9a7d9d Add some CSS 2025-11-08 12:07:30 -06:00
robert 88a1b0e44b Release: v0.3.0, drop "+patches" note on webpate
Basic checks / Basic build-and-test supertask (push) Successful in 6m44s
2025-10-30 13:55:48 -05:00
robert fe4e946e83 Add a custom webpage for the WASM build
It's just a copy of the page I made for my Boids program, but with all
the relevant names swapped to "asteroids".
2025-10-30 11:56:24 -05:00