The game looks cool.
Porting my JavaScript game engine to C for no reason
21–30 of 139 posts
Re: Porting my JavaScript game engine to C for no reason
#22With WASM it might actually run faster in the browser as well.
Re: Porting my JavaScript game engine to C for no reason
#23> Many Web games were created with Impact [the game engine from the article] and it even served as the basis for some commercial cross-platform titles like Cross Code, Eliot Quest and my own Nintendo Wii-U game XType Plus. Cross Code is an excellent game. I knew that it used web tech and I was constantly amazed by how performant it was on the Nintendo Switch hardware. I would guess that this engine deserves some cred…
Re: Porting my JavaScript game engine to C for no reason
#24Earlier quoted context omitted.
Why, from C to Zig, from Zig to Rust. Compile the Rust version to WASM to finally make it runnable in the browser.
i'm actually quite curious how it would perform relative to the C version. the article shows 1000x particles, but LittleJS has demos with a couple orders of magnitude more than that at 60fps. e.g. https://killedbyapixel.github.io/LittleJS/examples/stress/
It appears that after all these years, not everyone has bought into shader programming mentality, which is quite understable as only proprietary APIs have good debugging tools for them.
Re: Porting my JavaScript game engine to C for no reason
#25Re: Porting my JavaScript game engine to C for no reason
#26> Many Web games were created with Impact [the game engine from the article] and it even served as the basis for some commercial cross-platform titles like Cross Code, Eliot Quest and my own Nintendo Wii-U game XType Plus. Cross Code is an excellent game. I knew that it used web tech and I was constantly amazed by how performant it was on the Nintendo Switch hardware. I would guess that this engine deserves some cred…
Re: Porting my JavaScript game engine to C for no reason
#27From what I recall, what killed Flash wasn't iOS, but rather the acquisition of Macromedia by Adobe.
Re: Porting my JavaScript game engine to C for no reason
#28Somewhat related. Your QOI lossless file format coupled with 7Zip outperfoms lossless PNG. Amazing work!
BMP coupled with 7Zip would outperform too (probably by a bigger margin). It just boils down to gzip vs gzip-replacement compressor.
Re: Porting my JavaScript game engine to C for no reason
#29I believe that somewhere in there was frustration with Adobe who seemed to abandon the MacOS platform support for Windows' much larger user base, eg. Mac versions were always behind Windows versions. Perhaps Jobs also may've felt that there would be no Adobe without Apple as much as the other way around but that's speculative
The game looks slick af btw,
Re: Porting my JavaScript game engine to C for no reason
#30The history section does not feel quite accurate. From what I recall, what killed Flash wasn't iOS, but rather the acquisition of Macromedia by Adobe.