I've been diving back into Raywin development. I'll be honest, I'm intimidated by this project. I'm impressed with what I've managed since, as we've established, I'm a rubbish developer.
I've run into an issue. Running the game as a desktop client is working as expected. Running the game as a HTML5 app gets stuck while loading. I've looked into what exactly is going on when this issue occurs. To be honest, it doesn't make a lot of sense.
This is the debug output from the desktop client:
This is the debug output from the HTML5 client:
As you can see, the game kind of just gives up loading on HTML5 when it gets to loading the mail.
As I sat here typing this, I decided to do the sensible thing- I disabled the mail loading from start-up and... the game loaded. It worked. Better still, the mail still loads whenever the game performs a background load at the start of every screen- so mail still gets loaded in without breaking the game. It remains to be seen whether or not the mail system functions or not in the HTML5 version. The mail system is very unfinished and does nothing past loading so if I have to scrap it and start again, it wouldn't be the worst thing.
0 comments