alessandro@lemmy.ca to PC Gaming@lemmy.caEnglish · 2 months agoMorrowind modders continue to astound, add object physics with 'pure lua' to a 23-year old gamewww.pcgamer.comexternal-linkmessage-square66linkfedilinkarrow-up17arrow-down11
arrow-up16arrow-down1external-linkMorrowind modders continue to astound, add object physics with 'pure lua' to a 23-year old gamewww.pcgamer.comalessandro@lemmy.ca to PC Gaming@lemmy.caEnglish · 2 months agomessage-square66linkfedilink
minus-squareZahille7@lemmy.worldlinkfedilinkEnglisharrow-up0·2 months agoProject Zombie and GMod both use Lua scripts. GMod is also one of the best physics sandboxes imo, and has like the most mods on the workshop ever.
minus-squareLeuthil@lemmy.worldlinkfedilinkEnglisharrow-up0·edit-22 months agoThe physics in GMod isn’t implemented in Lua though. It was already part of the Source engine. Unless GMod isn’t referring to Garry’s Mod.
minus-squaresp3ctr4l@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up0·2 months agoProject…Zombie? Do you mean Zomboid? If so, Zomboid isn’t … the physics aren’t done in Lua. The base of the game is written in C++, and then certain parts of that are exposed to modders via an API that works with Lua. https://expertbeacon.com/is-project-zomboid-java/ The physics engine is written in C++. Because Lua is waaay too slow, and even compiled Java is about 4x as slow as C++.
Project Zombie and GMod both use Lua scripts. GMod is also one of the best physics sandboxes imo, and has like the most mods on the workshop ever.
The physics in GMod isn’t implemented in Lua though. It was already part of the Source engine.
Unless GMod isn’t referring to Garry’s Mod.
Project…Zombie?
Do you mean Zomboid?
If so, Zomboid isn’t … the physics aren’t done in Lua.
The base of the game is written in C++, and then certain parts of that are exposed to modders via an API that works with Lua.
https://expertbeacon.com/is-project-zomboid-java/
The physics engine is written in C++.
Because Lua is waaay too slow, and even compiled Java is about 4x as slow as C++.