10 comments

[ 2.6 ms ] story [ 35.9 ms ] thread
Robotron 2084 !!!
Wow, somehow I wasn't aware of this game, looks quite intensive and inspiring.
one of my favourite games : dead simple and spectacular (well, in its time) !
Well done! It is fun like Centipede but in Rust :)
Nice and Simple Example. Thank You.
thanks very much, I'll be glad if I hear that someone uses this as a learning material in the future.
28 MB wasm file. Is it possible to reduce the size a bit? In uncompressed and unobfuscated JS this wouldn't take more than 10KB.
Thanks for pointing that out. By coincidence, I was checking this now as I was actually worried about the bandwidth bill from my cloud provider and I wasn't aware that Nginx doesn't compress everything by default.

Simple tweaks:

gzip_types text/plain application/xml application/octet-stream application/javascript audio/ogg;

wasm-opt -Oz out/bevy-shoot-em-up_bg.wasm -o out/bevy-shoot-em-up_bg.wasm

So now , the total download size is 6.4 MB.