Game
Kingdom of Raywin
4 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

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

Taking its time, but not forgotten...

Not a great gif. Exciting stuff though!

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

Raywin running on Mac...

"Despite everything. It's still you..." -A different game

Started from scratch, and keeping organised!

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!

"There are trees here... but we're still in the building. I think I recognise these woods..."

#MythGIFMondays

How to make progress!