I’m trying to build a small game in Defold for the past couple of weeks and I’ve just bumped into the first stumbling block.
I have a Json file, around 4Mb in size that I read using sys.load_resource(…). and then call json.decode(…) to decode it to Lua tables. The call takes several minutes to complete during which time the game “hangs”.
I’d like to know if I’m doing something obviously wrong or if it’s a known limitation of Defold/Lua.