Live data from Hacker News

Minetest for the Web

minetest.dustlabs.io

11–20 of 42 posts

Re: Minetest for the Web

#11
This looks amazing, great work!

A web-based "Minecraft" has great potential, in my opinion, and has long been a dream of mine. My humble attempt at such a project: https://satoshinm.github.io/NetCraft/ (2017) - a port of Michael Fogleman's Craft, a simple Minecraft clone written in C, ported to the web using WebAssembly and Emscripten. It works, reasonably well (after a few small enhancements/fixes to Emscripten) but did not get very far. But it could be so much more, a "metaverse", if you will.

Minetest is a much more sophisticated application: paradust7's minetest-wasm port, even in its early stages, is already quite impressive. If it can be optimized, with streamlined add-on installation, seamless multiplayer/networking support, browser compatibility improved - I would not be surprised if this project catches on and gives Minecraft a run for its money.

Having the ability to easily casually play within a web browser, no install needed, is a massive advantage over the Java or C++ implementations of Minecraft - which have not (officially) embraced modding to the extent Minetest has. If successful, this project could capture the large and diverse community of Minecraft modders - able to more seamlessly deliver their creative content through the web. Excited to see how it develops further.

Re: Minetest for the Web

#12
post #8
post #6

Minetest is great. After the last Microsoft debacle I looked into Minetest and after a bit managed to amass a nice collection of mods to make a truly enjoyable game. UIt's everything Minecraft has come to not be.

What mods do you use? I've tried base mineclone2 and mineclone 5 and they just feel like a clunkier version of minecraft. I played Minecraft Alpha and that was more polished.

I suppose it depends on perspective. MC Alpha these days lacks performance optimisation, and cannot beat the extensibility of Minetest IMO.

Re: Minetest for the Web

#13

It would be great to be able to pair this with the server, letting people play on it together just by going to a website. I have a server set up for my daughter and her cousins, so reducing the friction to "go to this site, that's it" would be very useful.

This is the precise reason I'm also very interested in this project (or more generally, any implementation of a web-based voxel game). Douglas Crockford correctly identified "load and go delivery" as a key feature of the web platform. I've lost friends as players because of problems they had installing the Java version of Minecraft on their new PC. If they could simply visit a website in their browser, especially on a mobile device, we could play again.

Amusingly, very early versions of Minecraft circa 2009 _did_ run on the web browser: as a Java applet. This was short lived, and of course since 2017, Java applets are completely deprecated.

Mojang also published a JavaScript implementation of Minecraft at https://classic.minecraft.net/. You can share a link to play multiplayer. However, it is only a version of Minecraft "classic" (reports as 0.0.23a_01), and even then, a reimplementation, not 100% faithful to the original. It seems to be more of a "hey look what you can run your browser" cool tech demo of WebGL and WebRTC, than a serious multiplayer survival game.

Hopefully Minetest for the Web can succeed in this niche. I, for one, am rooting for them.

Re: Minetest for the Web

#14
Speaking of Minetest and the Web, it would be great if there was a web based control panel for Minetest servers, similar to how there are many out there for minecraft servers like Multicraft

Re: Minetest for the Web

#16
Hi all, I made this. Surprised by the sudden interest. It has been live but unchanged for 6 months.

There's an updated launcher. It's not finished yet, but it is nicer for exploring single-player community-made games: https://minetest.dustlabs.io/ez/

I'm not actively working on this, as I have concluded it is not (yet) possible to create a good web experience. There are problems with storage, network, keyboard side effects (e.g. Ctrl, W), concurrency, and performance that need to be addressed by browser vendors. I highly recommend installing the native Minetest!

Re: Minetest for the Web

#17
Minetest is an absolutely incredible project. My kids love to play it and it's one I can get behind because I can easily self-host so I own all the data, and I know my kids aren't talking to internet strangers through the game.

It's packaged on most distros also so you can probably `apt get install minetest` or `dnf install minetest` and have it running. You can host games on the LAN from your machine, or you can easily start a server. On fedora you can trivially `dnf install minetest-server` and then run `minetestserver` and you've got a server!

Re: Minetest for the Web

#18

Hi all, I made this. Surprised by the sudden interest. It has been live but unchanged for 6 months. There's an updated launcher. It's not finished yet, but it is nicer for exploring single-player community-made games: https://minetest.dustlabs.io/ez/ I'm not actively working on this, as I have concluded it is not (yet) possible to create a good web experience. There are problems with storage, network, keyboard side e…

Neat project! And thanks for the explanation :-)

Do you think the browser issues are being addressed already or will be addressed soon? or do you think it's a low priority for them? I would think enabling complex WASM apps would be a priority (especially for Google/Chrome) but you never know.

Re: Minetest for the Web

#19
post #7

https://minetest.dustlabs.io/mt/minetest.js(1) : Uncaught RangeError: WebAssembly.Memory(): could not allocate memory

I also see an error but instead:

Uncaught TypeError: GLctx is undefined

--

Firefox 105 on Linux 64-bit (ElementaryOS)

Post reply on HN