ColePowered Games Ltd.
  • Navigation
    • Shadows of Doubt
    • Concrete Jungle
    • Older Projects
    • Jobs
    • Bug Report/Support
    • Contact
  • Search Icon
Search Icon

ColePowered Games Ltd.

The Game development adventures of Cole Jefferies.

Shadows of Doubt DevBlog #15: Moving in the Citizens

Shadows of Doubt DevBlog #15: Moving in the Citizens

April 24, 2019 colej Comments 0 Comment

Shadows of Doubt is a detective stealth game set in a fully-simulated sci-fi metropolis! There’s been a murder and it’s up to you to solve it by any means necessary, with the condition that you keep a low profile. A unique mix of procedural generation and hand-crafted design enables every room of every building to be explored. Citizens go about their lives independent of the player as you watch from the Shadows, in search of crucial information. Read previous dev blog entries here.

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.

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.

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.

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.

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!

Twitter
Follow
Facebook
RSS

Development Blog, Police Department Game, Shadows of Doubt

Post navigation

NEXT
Shadows of Doubt DevBlog #16: The Game is Afoot!
PREVIOUS
Collected Thoughts: Hypnospace Outlaw

Leave a Reply Cancel reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About

Indie Games developer, currently working on detective simulator game ‘Shadows of Doubt’. I also made Concrete Jungle.

Twitter
Facebook
Instagram
YouTube
IndieDB

Development Blog

  • Shadows of Doubt
  • Concrete Jungle

Previously on ColePowered…

  • October 2022 (1)
  • March 2022 (1)
  • December 2021 (1)
  • October 2021 (1)
  • August 2021 (1)
  • July 2021 (1)
  • June 2021 (1)
  • May 2021 (1)
  • January 2021 (1)
  • October 2020 (1)
  • July 2020 (2)
  • March 2020 (2)
  • January 2020 (1)
  • December 2019 (1)
  • November 2019 (1)
  • September 2019 (1)
  • August 2019 (1)
  • April 2019 (1)
  • March 2019 (2)
  • February 2019 (3)
  • January 2019 (1)
  • November 2018 (1)
  • October 2018 (2)
  • September 2018 (1)
  • August 2018 (1)
  • July 2018 (3)
  • June 2018 (2)
  • April 2018 (1)
  • August 2017 (1)
  • May 2017 (1)
  • March 2017 (1)
  • January 2017 (1)
  • December 2016 (1)
  • September 2016 (2)
  • August 2016 (1)
  • September 2015 (3)
  • August 2015 (1)
  • July 2015 (1)
  • June 2015 (3)
  • May 2015 (4)
  • April 2015 (4)
  • March 2015 (4)
  • February 2015 (4)
  • January 2015 (4)
  • December 2014 (5)
  • November 2014 (3)
  • October 2014 (3)
  • August 2014 (1)
  • July 2014 (1)
  • June 2014 (1)
  • May 2014 (2)
  • March 2014 (3)
  • September 2013 (2)
  • July 2013 (3)
  • June 2013 (3)
  • May 2013 (2)
  • April 2013 (4)
  • March 2013 (4)
  • January 2013 (1)
  • December 2012 (1)
  • November 2012 (2)
  • October 2012 (1)
  • August 2012 (1)
  • July 2012 (2)
  • June 2012 (2)
  • April 2012 (4)
  • March 2012 (2)
  • February 2012 (3)
  • January 2012 (3)
  • December 2011 (2)
  • November 2011 (4)
  • October 2011 (2)
© 2023   Copyright. All Rights Reserved. Designed by Freepik