Cardy64 [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=34563 JS File is Not Exporting Correctly <p>Hello! About a year ago I created the game Supermarket in PICO-8. (File should be attached using the SAVE @CLIP system.) I recently remembered it and wanted to publish it to my portfolio website, but when exporting the HTML and JS files for the game I ran into some trouble.</p> <p>Here's the game:</p> <p> <table><tr><td> <a href="/bbs/?pid=139071#p"> <img src="/bbs/thumbs/pico8_supermarket-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=139071#p"> supermarket</a><br><br> by <a href="/bbs/?uid=34563"> Cardy64</a> <br><br><br> <a href="/bbs/?pid=139071#p"> [Click to Play]</a> </td></tr></table> </p> <p>Basically, the JS file just ends with &quot;...0,0,0,0,&quot; There's no closing &quot;]&quot; to the huge aray of numbers and the error I get in the inspect console is &quot;Uncaught SyntaxError: Unexpected end of input supermarket.js:131&quot;</p> <p>Any ideas of what's going on here? While a solid solution to this would be great and preffered, it would still just be a great help if someone could send their own HTML and JS files of the game here if that's the best that can be done.</p> <p>Thanks in advance :)</p> https://www.lexaloffle.com/bbs/?tid=55450 https://www.lexaloffle.com/bbs/?tid=55450 Sat, 23 Dec 2023 07:25:18 UTC