• Zahille7@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    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.

    • Leuthil@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      2 months ago

      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.

    • sp3ctr4l@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      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++.