Retro Boy: simple Game Boy emulator written in Rust, can be played on the web
1–10 of 108 posts
Re: Retro Boy: simple Game Boy emulator written in Rust, can be played on the web
#2Re: Retro Boy: simple Game Boy emulator written in Rust, can be played on the web
#3I love how Rust+WASM is an enabler for showing off applications like this which would traditionally be restricted to a desktop environment. Here's my own, an NES emulator, using wasm-bindgen for the translation but otherwise a similar setup:
https://rustico.reploid.cafe/?cartridge=patreon/tactus-v0.7-...
It's so cool to work on a bit of homebrew, then be able to share a link with someone and have it "just work" in their browser. No weird tools, no shady sites, just my game and their feedback.
Re: Retro Boy: simple Game Boy emulator written in Rust, can be played on the web
#4But in Chrome, this plays really well! Great work!
Re: Retro Boy: simple Game Boy emulator written in Rust, can be played on the web
#5Re: Retro Boy: simple Game Boy emulator written in Rust, can be played on the web
#6Looks like an awesome addition to the GB emulation world! I know GB Studio can export a web player—I wonder if this implementation has some advantages.
Re: Retro Boy: simple Game Boy emulator written in Rust, can be played on the web
#7Looks like an awesome addition to the GB emulation world! I know GB Studio can export a web player—I wonder if this implementation has some advantages.
Re: Retro Boy: simple Game Boy emulator written in Rust, can be played on the web
#8It plays really slow in Firefox, and there are also audio issues (they may be related?) But in Chrome, this plays really well! Great work!
Re: Retro Boy: simple Game Boy emulator written in Rust, can be played on the web
#9This is awesome! Very nicely done. I hear a few problems with the audio emulation, (mostly clicks that shouldn't be there) but it's been a long while since I had my head wrapped around Gameboy emulation. I'm not sure I know what's going wrong exactly. I love how Rust+WASM is an enabler for showing off applications like this which would traditionally be restricted to a desktop environment. Here's my own, an NES emulat…
Almost anything WASM+Audio seems to do that in browsers today, unless you're really really careful about what you're doing and leverage multiple threads. I think the issue is mostly around single-thread contexts, where it has to switch between playing audio and other things.
I hit the very same issue myself with Bevy not too long time ago, and tracking this issue which has some further links if you wanna go down a rabbit-hole: https://github.com/bevyengine/bevy/issues/4078