htmlgames / htmlgames.github.io

HTML Games
5 stars 7 forks source link

I will not be working on this project anymore! Thanks for visiting and using the emulator #21

Open htmlgames opened 6 years ago

htmlgames commented 6 years ago

🥇

BlaT2512 commented 5 years ago

Hi, this is not a bug but how do you use the autoload.js file generated when you package an offline sb2 file (zip file)?

htmlgames commented 5 years ago

It's basically an sb2 file base64encoded into a javascript variable. If this variable length > 0 it is decoded, and passed to the load sb2 function.

EDIT: I think I mis-read your question, you will need to clone the whole project and replace the variable value with the one from the generation process. FYI: It's also used in the apk process this way, I inject this variable into the apk so that it starts the game without any internet or user intervention required.

If you don't have any webspace / github to clone into then run a local instance of tomcat and drop the project folder into the webapps folder to test.

HTH

gatzke commented 4 years ago

Thanks so much for getting some phosphorous fixes up and running. I appreciate it!

The rendering of vector sprites and text is pretty questionable still. Could you point me to where that issue arises if you know off the top of your head? Old school phosphorus worked great but something happened along the way. Scratch has some questionable rendering as well, especially for ovals.

Thanks again!

htmlgames commented 4 years ago

Yes, it was fun developing this a few years ago.... Might be worth you checking the other fork (that I know) of from the original phosphorous from years ago. This one has better SVG vector stuff at the moment:

https://sulfurous.aau.at/#74221074

On phosphorous++ this project used to work correctly too - I think this is caused by the SVG shim I used, is now out of date.

Scratch 3 is basically html + javascript now anyway, so interest in the emulators has dwindled. Cheers for dropping by..