I used this library for my entry to the Minetest Game Jam 2023, which I sadly didn't finish in time.
Its really nice honestly. APIs are powerful both for minigames and external stuff (see the stent mod MisterE made for my entry!), arena editor is really easy to use and can be customised by your minigames.
Documentation is really good too.
I will definitly use it next time 🙂
What I think could be improved:
Arena properties doesn't handle real vectors (vectors.new). When you define them with code it works but it doesn't from the arena settings editor; the property is handeled as a table with displayed keys order not matching the xyz order and converted as a regular table instead. There is the return (expression) syntax but it's run in an empty global env and would look ugly anyways. I think the mod should check if the initial setting in arena definition is a vector with vector.check and have a special GUI to edit those in arena editor settings.
I would also love having LuaLS typing annotations (or headers) since it greatly improve developer experience, but it would require this Minetest issue anyways.
I used this library for my entry to the Minetest Game Jam 2023, which I sadly didn't finish in time.
Its really nice honestly. APIs are powerful both for minigames and external stuff (see the stent mod MisterE made for my entry!), arena editor is really easy to use and can be customised by your minigames. Documentation is really good too.
I will definitly use it next time 🙂
What I think could be improved:
Arena properties doesn't handle real vectors (
vectors.new
). When you define them with code it works but it doesn't from the arena settings editor; the property is handeled as a table with displayed keys order not matching the xyz order and converted as a regular table instead. There is thereturn (expression)
syntax but it's run in an empty global env and would look ugly anyways. I think the mod should check if the initial setting in arena definition is a vector withvector.check
and have a special GUI to edit those in arena editor settings.I would also love having LuaLS typing annotations (or headers) since it greatly improve developer experience, but it would require this Minetest issue anyways.
Hi, thank you for your review!
I was trying to improve the coordinates in the arena settings editor, here you can follow the progress: https://gitlab.com/zughy-friends-minetest/arena_lib/-/issues/308 c: