News for hackers. Stuff that matters.
Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by mcintyre1994 on Friday September 18, 2020 @01:30PM (#24519542)
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?
Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by mrDIMAS on Friday September 18, 2020 @02:22PM (#24520153)
There 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 :(
Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by boudin on Friday September 18, 2020 @07:12PM (#24522762)
If you have a computer with linux, this kind of things could help: https://github.com/foxlet/macOS-Simple-KVM
Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by tomgaga on Saturday September 19, 2020 @06:41AM (#24526495)
Following the Hackint0sh on Virtualbox tutorial worked for me, about 2 years ago though.

https://www.hackint0sh.org/how-to-install-macos-on-virtualbo...

Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by korpiq on Friday September 18, 2020 @04:27PM (#24521552)
Hey what about someone donate a Mac to mrDIMAS? Might pay back =)
Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by VWWHFSfQ on Saturday September 19, 2020 @06:39AM (#24526491)
you're someone
Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by brundolf on Friday September 18, 2020 @01:40PM (#24519659)
The 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.
Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by kettlecorn on Friday September 18, 2020 @01:58PM (#24519881)
Rust 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

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

Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by steveklabnik on Friday September 18, 2020 @01:47PM (#24519730)
Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by pjmlp on Friday September 18, 2020 @02:16PM (#24520079)
References are almost in, by next year you can probably already talk directly to WebGL.