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 #7: There’s been a (Procedurally Generated) Murder!

Shadows of Doubt DevBlog #7: There’s been a (Procedurally Generated) Murder!

August 18, 2018 colej Comments 1 comment

Shadows of Doubt is a first person detective simulation game set in a procedurally generated and fully simulated city. As head of the police detective department, it’s your job to organise your sleuths and track down AI serial killers before they strike again! Read previous dev blog entries here.

Last update I had made some progress on the first-person game world and these last few weeks have continued that trend. I’m enjoying working with voxels so much that switching to 3D modeling for the game actually feels like a nice break from the programming, so it’s a win-win situation as far as development is concerned! It’s why the graphics suggest the game is further ahead than it is. Since the last update, the biggest implementation is a basic character model, complete with walking animation.

Despite the endless repetition, having a human model in the game has really brought the first-person mode to life.

Originally, I had planned to make the characters as 2D billboard sprites in a 3D world (think original Doom). However, after some experimentation, I decided to try and make a character model using voxels and the same technique I’m using for, well, everything else. Turns out 3D voxel modes are actually way easier- for several reasons: The first being that it’s much less time consuming to animate compared to drawing every single frame for every animation for at least 4 different directions in 2D.  Secondly, although obviously right now the city is pretty non-diverse with my basic film noir white detective, I have big plans for having all shapes, skin tones, hair colours, and hairstyles etc. Building the character models in a way that is easily segmented into head, torso, and legs means this diversity among characters will be possible, and that’s super easy to do with voxels.

The walking animation was achieved by making different leg meshes for each’ frame’ of animation. This achieves a stop-motion-like effect. Since the legs are symmetrical, I was able to save time and resources by simply mirroring the mesh in the latter half of the walk cycle to complete the animation. I then added some subtle transform movement of the torso and head meshes using Unity’s built-in in animation editor. It’s by no means final, but honestly, it’s better than I was hoping floor (I don’t have a lot of experience in 3D animation at all, and I was dreading the task making all those billboard sprites).

These last few days saw the first implementation of doors.

But wait there’s more! This week I’ve also made some doors for the game. Doors in Shadows of Doubt will be able to be closed, open, locked, unlocked, lockpicked, destroyed and keyholes peeked-through. I’ve only got the first couple of things on that list working so far, but the implementation was relatively painless, and it all seems to be working as planned for now.

I mentioned in my last post, one of the limitations of having a procedural world is not being able to bake lighting. I’ve already come up with some culling techniques for expensive real-time shadows and illumination. One nice advantage is though, I can have dynamic lights being visible through cracks under doors- a very noir-esque way of telling if the light is on in the room within. This actually happened by accident first of all due to wonky door positioning on my part, but I’m absolutely keeping it!

Crime scenes are beginning to take shape!

Lastly, bringing this blog entry up-to-date with my current focus- crime scenes! This is one of the biggest challenges of the game as murders need to be able to occur anywhere and leave behind logical clues. In other words, I don’t just have to place some clue objects and a few blood spatter decals around- I actually have to simulate what happened and have the game generate the objects and placements using that. I have yet to really dive into the simulation aspect, I’m just getting the basics down for now.

Most importantly though, the player drops little yellow crime scene placards when you inspect a clue at a crime scene. Priorities.

Twitter
Follow
Facebook
RSS

Development Blog, Police Department Game, Shadows of Doubt

Post navigation

NEXT
Shadows of Doubt DevBlog #8: Simulating a City
PREVIOUS
Shadows of Doubt DevBlog #6: First Person Adventures

One thought on “Shadows of Doubt DevBlog #7: There’s been a (Procedurally Generated) Murder!”

  1. Avatar Stefan says:
    August 22, 2018 at 11:24 pm

    Looking great man! Still playing Concrete jungle btw, which is amazing, and decided to check out if you’re cooking something new 🙂 Cheers! Keep up the good work!

    Reply

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…

  • 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)
© 2022   Copyright. All Rights Reserved. Designed by Freepik