Game
Shadows of Doubt


5 years ago

In this development blog I talk about the significant progress I've made in the last few weeks!


It’s been a while since the last blog and I’ve been busy! Firstly some quick announcements: I’m in the process of expanding ways you can find out about, keep track of and follow progress on the game. First off is the official Discord server, and second, are new places to follow this dev blog at Game Jolt and soon Itch.io. You can also subscribe to the mailing list that I set up a couple of blog posts ago, but for some reason, haven’t mentioned until now. A steam page is on its way- more on that at the end. Last but not least, I’ve been dabbling in making some concept/branding art for the project. Truthfully this has been repurposed from a much older piece I did years ago, but I’m pretty pleased with it- and shall likely be using it for a lot of the early promotional stuff that you’ll see soon.

5d091a6cd1516.jpg

The previous dev blog covered my first foray into interiors and my first attempts to procedurally decorate them. I’m pleased to say the game is progressing at a decent rate now; whereas before the new interiors were limited to my floor editor, they are now actually in-game. It took a while as there’s a lot to integrate; one of SoD’s main selling points is complete freedom to explore- and that means being able to go into any room in any building. When you’re talking about even just a couple of city blocks worth of skyscrapers, that’s a hell of a lot of rooms! I’ve had to do a lot of work under the hood in terms of culling to get this working, but you can, at last, do this without any extra loading times. I’ve got a lot to refine, but it’s working well. Using low-fidelity assets really helps as it keeps texture sizes small.

5d091a6e78008.jpg

The first batch of furnishings are appearing in apartments, giving them some much-needed character.

The second hurdle was to re-write the AI to take advantage of the new interiors system, as they’ve completely changed to how they were prior. I opted for an overhaul of the previous very basic AI in favour of a new goal-based system. A lot of things have stayed the same, such as the way the AI sight each other, but they now employ a new sims-like stat system that dictates their minor actions throughout the day (needing to eat, drink, sleep etc). Whereas before their routine was almost completely pre-computed- meaning a lot of extra, spontaneous actions such as checking out a  suspicious noise or sighting had to be written separately. This could potentially break their pre-computed routine, meaning the game would have to calculate it again. This new system allows for a lot more flexibility.

5d091a7112318.gif

All the citizen AI paths being dynamically calculated are visible here in magenta.

As the goal is still to have a lot of citizens simulated with this AI, I’ve done a few things to limit the performance cost of it: Most notably, the AI’s update rate will only be high when nearest the player and when not doing actions that require them to be more aware. By dynamically changing this with proximity to what’s actually on-screen, I can make the performance cost of 95% of the citizens at any one time relatively insignificant. It’s had some teething problems, but I’m almost there- and hope to complete the new AI around the beginning of May.

5d091a761f9a8.jpg

Most significantly for the game though, this means I’ll finally have furnished, individual rooms that you can sneak into, complete with simulated citizens that are capable of interacting fairly realistically. This is a pretty big milestone that I’m super excited about. I’m hoping to launch the Steam page around then as I feel for the first time I’ll be able to effectively communicate (show, not tell) what the gameplay is like. Up until now, my descriptions have been somewhat vague, as I’ve tested a lot of ideas throughout this development. But what I’ll have soon is a stealth game with some pretty clear mechanics, that although lacking a lot, will be the first thing that’s actually somewhat playable. The sand in the sandbox if you will. Only took me 2 years!



1 comment

Loading...

Next up

Shadows of Doubt DevBlog #26: Populating the Population: Sculpting Faces

The latest Shadows of Doubt dev blog is up! I talk about progress made in 2020 and targets for 2021

In the latest development blog, I talk about the gameplay mechanics surrounding doors in the game.

In this development blog writer Stark Holborn takes us through writing for the game's world.

Shadows of Doubt DevBlog #21: How Voxels Saved the Project

In this update I review the progress on the project in 2019, and look ahead to 2020.

We are under attack!

Been working lately on lots of 'behind-the-scenes' boring stuff that no one really cares about, so here’s a guy playing the sax for some reason.

#screenshotsaturday

Shoobies leave a sticky trail of mucus in their wake, which can impede movement for any creature that steps in it.

I was bored, so... ManutKat.