Is anyone out there?

If you can see this blog post, please leave a comment! I’m in the process of changing my web hosts and I’m seriously debating what to do with this blog. There’s about five years of archives around here, which my first instinct is to preserve, but there’s a lot to be said for a clean slate and a new platform…

Real-time game making

I’m currently working (very slowly) on a real-time web based game. When I say real time, I don’t just mean this isn’t turn-based; I mean actions take a significant amount of time to pass in order to complete, ranging from a few minutes to many hours; there’s even a day-long and week-long event.

It’s loosely based on World of Warcraft‘s mission table, with a Traveller and Star Trek theme. I envisage players being able to send crew members off on away mission style adventures, with resource gathering and trading on the side. So far, it’s been a learning exercise for me. I’m using Bootstrap for the first time, and writing a lot of new Javascript. There’s still a lot to do; and the 7 Day Roguelike Challenge for 2018 is coming up,  so I don’t imagine it’ll be done anytime soon, but that’s okay.

Here’s a bit of a UI mock-up, showing some crew members:

I bought a sprite sheet from Oryx Design Lab, so I don’t have to worry about artwork. Pretty pleased with how it’s shaping up so far!

Notifications and background tabs

Using the Notifications API

The Notifications API lets a web page or app send notifications that are displayed outside the page at the system level; this lets web apps send information to a user even if the application is idle or in the background. This article looks at the basics of using this API in your own apps.

Background Tabs in Chrome 57

Background tabs can have a dramatic negative effect on browser performance, especially on battery life. To mitigate this, Chrome has been placing various restrictions on background tabs for the last several years. Recently there’s been a number of efforts to make further improvements, and this document gives an overview of the Chrome policy.