Game
Kingdom of Raywin
5 years ago

Desktop client or HTML5...


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:

screen_shot_2019-12-19_at_174536.png

This is the debug output from the HTML5 client:

screen_shot_2019-12-19_at_174423.png

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

Loading...

Next up

Today's progress! A tidier save format than my old version. Demonstrated in images.

Old: Every piece of data needed it's own key

New: 1 key per player

Happy Spooky Month!

We added a kitty!

Just fixed a major memory leak issue and added a forest to the office building. This game will be... abstract.

Oh it's happening now!

Not a great gif. Exciting stuff though!

Further to my last article- the mail system is indeed broken.

The story of 'Going Down' is falling into place nicely. The visuals are looking lovely. The atmosphere is spooky with more than a touch of mystery.

I am very happy with progress!

Taking its time, but not forgotten...

That typo has been there the whole time, hasn't it? Staring me in the face...

"All of it... amounts to this..."

We've been quiet but busy. Time for an update!