hmm my buddy is still not able to get it working on device. might be another issue as well, how would he get the crash logs? (I don't own a playdate)
Viewing post in Lake Hero jam comments
errorlog.txt should be at the root of what’s visible when Playdate is connected via USB. I’ll have a look — I checked the game only on sim. (If the game crashes with e0 error, that’s a OS level crash and that probably won’t produce a log. But all e1 errors should be logged there.)
(Btw solid art and what a nice game! Can’t believe it’s your first experience as a team. Great work!)
I looked inside and I see there are LDtk levels inside — I’ll check on device, but it might be an issue with the initial load taking 10+ seconds, after which OS kills the app if it is not responsive.
I don‘t know if that’s the case, but the solution is to load specific levels instead of one general LDtk.load(). (I recently saw the issue discussed elsewhere.)
Well, third time the charm — checked the game on device and it crashes with e0 error, so it probably is the issue with LDtk working for too long on startup. The last message that I see in the log over serial is “LDtk Importer will use lua precomputed levels.”
You may prevent the issue by delaying the load, but it should be avoidable by loading specific levels after the game launches to one of the splash screens.