Davidobot / love.js

LÖVE ported to the web using Emscripten, updated to the latest Emscripten and LÖVE (v11.5)
MIT License
605 stars 27 forks source link

Has anyone been able to use love.js to port 3DreamEngine module to the web? I'm getting "could not open file default. Does not exist" error. #73

Open SugarRayLua opened 1 year ago

SugarRayLua commented 1 year ago

The current love.js project has a nice demo of the 3D g3d module porting to the web. Luke100000's 3DreamEngine seems even more powerful as a 3D engine, and I was hoping to be able to also port it run on the web using love.js similar to the g3d module. Love.js compiles the 3DreamEngine to the web but then is not able to run it and gives me these errors:

love.js:9:40606 Could not open file default. Does not exist. Highlighted code in javascript console: out(UTF8ArrayToString(tty.output, 0));

game.js:257 loading game.data from cache Highlighted code in javascript console: console.info('loading ' + PaCKAGE_NAME + ' from cache');

Not sure if perhaps the 3DreamEngine may be too big-- the project contains many 3D model and the size of the port is almost 60 MB. I did allocate over that amount (e.g. -m 75000000) in love.js when I attempted to compile it to run on the web.

Thanks!