this is great! but ff shows that underrun.wasm is 35KB, what's going on?
14kb WASM game written in D
31–40 of 115 posts
Re: 14kb WASM game written in D
#32The original JavaScript implementation: https://js13kgames.com/games/underrun/index.html (It was a js13kgames submission in 2018; I’m guessing that this being submitted here now is in some way linked to how Q1K3 is currently on the homepage, also a js13kgames submission, though for 2021. Pure speculation.)
Re: 14kb WASM game written in D
#33Pretty impressive performance. It seems web assembly is pretty good tech for writing a performant web app. Is there any benchmark comparing web assembly vs javascript? I mean the same logic executed by javascript code vs the web assembly. Also curious to know if there are any serious web apps developed using web assembly.
I recently discovered https://lekh.app which uses web assembly. I had a conversation with the developer and he told me that he is using web assembly for the core diagramming and shape recognition logic. The app is for diagramming and whiteboarding. The whole diagramming and AI (to recognize shapes) is compiled into ~1M of web assembly.
Re: 14kb WASM game written in D
#34Pretty impressive performance. It seems web assembly is pretty good tech for writing a performant web app. Is there any benchmark comparing web assembly vs javascript? I mean the same logic executed by javascript code vs the web assembly. Also curious to know if there are any serious web apps developed using web assembly.
These results are utterly unscientific. You also can’t compare Firefox and Chrome’s profiling numbers to one another.
Re: 14kb WASM game written in D
#35Wow, what an impressive game for the web browser, and in such a small size! I'm particularly impressed by the variable lighting of the bullets down hallways, that's really quite masterful work. Kudos! Edit: I am impressed because I'm impressed. I spent a few weekends recently messing around with pygame, and I had a really hard time organizing my code and my thoughts. I do primarily numerical, technical work, and I se…
Ok, I'm not trying to take anything away from the developer here but calling this "masterful" makes me think you must have incredibly low expectations for webtech games and/or developers.
Re: 14kb WASM game written in D
#36Re: 14kb WASM game written in D
#37This uses webgl, right? Maybe feedback to the user in case of missing support would be useful. Else folks get stuck at "Initializing..." with an exception in the console. Not everybody checks the console. (TypeError: can't access property "createBuffer") Edit: stuck at "Initiating..."
Yeah I first tried this in Safari and just had a black screen - edge/chrome worked just fine. Notice/pop-up would be helpful
Re: 14kb WASM game written in D
#38The original JavaScript implementation: https://js13kgames.com/games/underrun/index.html (It was a js13kgames submission in 2018; I’m guessing that this being submitted here now is in some way linked to how Q1K3 is currently on the homepage, also a js13kgames submission, though for 2021. Pure speculation.)