Point of view

Last night was the inaugural meeting of my new after school study club, and it was a very cosy, pleasant experience. We went around the table and talked about our various works-in-progress, discussed the merits of various database/model frameworks, and eventually settled down to work on our individual projects.

I spent the time getting field-of-view and fog-of-war working in Bones of the Idle. I already had some code from an earlier JS roguelike project to hand, so with a bit of refactoring I was able to slot that into place:

There is nothing insignificant in the world. It all depends on the point of view” — Goethe

The darker areas around the edges represent tiles the player has seen before, but currently cannot see (fog of war), with brighter tiles they can currently see surrounding them. As you can see, their field of view isn’t a perfect circle, as it’s being obscured by the nearby trees.

Now that the player can be placed on the map (which in turn can be larger than the view port, a new feature over the previous code base), the next obvious step is to re-implement pathfinding and get them moving around and scrolling. I still want that to be verified server-side, so again I’m hoping to take the existing code I already have, give it a polish, and drop it in place.

Two new beginnings

Today is the first of August, and that marks two new things starting for me. Firstly, it’s the beginning of the 2019 Blaugust blogging challenge, which sees bloggers of all kinds banding together to create content for their sites throughout August. The greatest goal a Blaugust participant aims for is one new post per day, but any amount of activity is rightly celebrated by the incredibly friendly community. All of my Blaugust posts here can be found under the tag #blaugust2019.

Unofficial mascot of the After School Study Club

Perhaps more excitingly, this evening will be the first meeting of new club I’ve set up. One of the hardest parts of working on Bones of the Idle is actually finding the time to do so. By the time I’ve spent the day at work coding, then commuted home and settled down, often I find my energy and enthusiasm waning.

In wondering how to combat this, I struck upon the idea of carving out a few hours regularly for working on projects like this in a different environment. And so, after consulting with my manager, the After School Study Club was born. I’ve arranged for some interested colleagues and I to stay behind after work for a couple of hours every other week, to work on, share, and get feedback on whatever personal or professional projects they have in progress.

I’m hoping that some people will also volunteer to give little informal talks or workshops on new technologies and things they’ve learnt, but mainly I want a relaxed, supportive environment to geek out and work on passion projects, if only for a few hours at a time. If nothing else, it’s a bit of progress and a spotlight to show off every two weeks, and that can’t be bad.

Wish us luck!