3 ms·
This looks really impressive! Given that Rust -> WebAssembly is at least a thing, would it be plausible for someone to make that rusty-shooter demo work in a br
by mcintyre1994 6y ago
This looks really impressive! Given that Rust -> WebAssembly is at least a thing, would it be plausible for someone to make that rusty-shooter demo work in a browser?
- brundolf 6y agoThe graphics code would have to be ported to WebGL, and then there might be an extra hurdle getting WASM to talk to WebGL directly. But it's doable, yes.
- pjmlp 6y agoReferences are almost in, by next year you can probably already talk directly to WebGL.
- steveklabnik 6y agohttps://rustwasm.github.io/wasm-bindgen/examples/webgl.html https://rustwasm.github.io/wasm-bindgen/examples/webgl.html
- kettlecorn 6y agoRust with WebGL is pretty seamless today. I wrote a game for a gamejam using Rust, Wasm, and WebGL without any engine: https://kettlecorn.itch.io/wonder https://kettlecorn.itch.io/wonder It makes use of ‘glow’, a Rust library that lets you write regular OpenGL code that runs across desktop, mobile, and web: https://github.com/grovesNL/glow https://github.com/grovesNL/glow
- deleted 6y ago[deleted]
- mrDIMAS 6y agoThere is also a problem with rg3d-sound - it supports only Windows and Linux right now. So there will be no sound on other OSes. I've tried to add at least macOS backend by myself, but I failed all attempts to install macOS on virtual machine :(
- korpiq 6y agoHey what about someone donate a Mac to mrDIMAS? Might pay back =)
- VWWHFSfQ 6y agoyou're someone
- boudin 6y agoIf you have a computer with linux, this kind of things could help: https://github.com/foxlet/macOS-Simple-KVM https://github.com/foxlet/macOS-Simple-KVM
- tomgaga 6y agoFollowing the Hackint0sh on Virtualbox tutorial worked for me, about 2 years ago though. https://www.hackint0sh.org/how-to-install-macos-on-virtualbox/ https://www.hackint0sh.org/how-to-install-macos-on-virtualbo...