News for hackers. Stuff that matters.
Re:Minetest for the Web by jhatemyjob on Friday October 14, 2022 @03:15PM (#33207668)
Wait... this is amazing. Is there Lua addon support?
Re:Minetest for the Web by ROllerozxa on Friday October 14, 2022 @03:22PM (#33207747)
All Minetest games consist purely of Lua, so of course there is. I don't know if there's a way to "sideload" games and mods into the browser storage but installing them from ContentDB works.
Re:Minetest for the Web by cowtools on Friday October 14, 2022 @06:13PM (#33209425)
Seems like one might be able to use emscripten_wget or something. Emscripten can expose a unix-like filesystem
Re:Minetest for the Web by jasonjayr on Friday October 14, 2022 @05:15PM (#33208893)
The official mod API is pure lua:

(as an example:)

https://github.com/tenplus1/minetest_game/blob/master/mods/f...

That code would run server side, but there is some recent work for client-side scripts as well.