Open nathanleiby opened 2 weeks ago
Good progress on WASM build today: https://github.com/nathanleiby/drum-break/compare/4c9c9fa9b8288da73a8d4ce7d382851b33cf822a..66bff4c5c09eb538acbf986744526477392169c4
Got a build working that lets me keep Macroquad with its special wasm build toolchain, but include other wasm-bindgen
deps! Much thanks to https://gist.github.com/tgolsson/d78f7887a8542f3fd6f125070e5e22d6?permalink_comment_id=4901010#gistcomment-4901010
One obvious issue has cropped up. The screen is flashing sometimes in WASM build. This is a reported issue for Macroquad web builds: https://github.com/not-fl3/macroquad/issues/471#issuecomment-1346563191
In that case, it was due to loading a resource during the loop in a way that's expensive. Could that be my issue? It seems to flash just before a sound is played
Whatever my fix is, I should chime in on the Macroquad issue and share context. Maybe they can close the issue out if it doesn't seem to be a Macroquad isue. Contributing in some way to macroquad
is one of my RC goals for the upcoming weeks!
Fixed the blinking screen issue ^ f4999f1
Why?
Way easier to share and ship iterative improvements.
How?
time
to workconfy