polymod icon indicating copy to clipboard operation
polymod copied to clipboard

[ENHANCEMENT] Scripting support for Lua

Open EliteMasterEric opened this issue 2 years ago • 0 comments
trafficstars

Some games implementing scripted mod support may have a personal preference for Lua-based interpretation over hscript-based interpretation. Polymod already provides the capability for mods to add their own text files, but utility functions for Lua could be useful.

  • [] Figure out what users would actually want from a Lua wrapper API.
  • [] Figure out if it's possible to run interpret Lua efficiently in browser/HTML5 (optional).

Resources:

  • https://lib.haxe.org/p/linc_luajit/
  • https://github.com/ShadowMario/FNF-PsychEngine/blob/5d7a915720e4664290216de0f6fb4338f36fe3ce/source/FunkinLua.hx

EliteMasterEric avatar Jan 31 '23 04:01 EliteMasterEric