I’m making a word game and I have a dictionary of 275k words, all in a lua module.
Everything works on desktop and mobile, but the html5 build is failing to load that module.
Is this a size limit that I’m hitting? Would a json formatted list loaded as a resource work better for html5?
HTML5 builds use standard Lua 5.1 while desktop and mobile use LuaJIT.
I tried to find something about size limits for modules or Lua chunks but couldn’t find anything after a quick search. I’m not sure it would work better to load as JSON and convey to table. Try!
I was actually able to solve this by converting the word list to json and loading that as custom resource.
Weird. I’ve probably hit a limit with wasm or something like that.
As long as it works properly I’m fine though