ldtk-love icon indicating copy to clipboard operation
ldtk-love copied to clipboard

Fixed edge case issue when cross-compiling to JavaScript for web deployment

Open yung-turabian opened this issue 8 months ago • 0 comments

I'm learning Lua for a game-jam in place of C++ and I wanted to compile for the web because of the ease of access. This LDtk-loader works like a charm but when using this nifty tool that handles emscripten things (https://schellingb.github.io/LoveWebBuilder/run-project) I got the attached error. I've replaced the load() function with a tonumber() function to simplify the conversion function and now no errors in loading on either desktop or web.

yung-turabian avatar Jun 21 '24 21:06 yung-turabian