Game
Sins of the Past
7 years ago

On Guard


Guards make up the majority of the work for the game. I’m probably less than halfway done with them? Not super happy with my work rate so far (but not in crisis about it yet).

What’s done is the basics giving them patrol routes, having pathing where they can move to a specific point on the map, and making it so they can return to their patrol route when finishing moving somewhere. That might sound like a good day’s work, but with Godot these are pretty basic tasks (albeit I had to hack around the fact that it doesn’t directly support a single node using both paths and physics).

5d0ac4be70330.png

From here is the much more interesting work of how they sense things: sound, smell, etc. My initial plan was to have sensation origins generate pulses of sensations. Depending on the type of sense these sensations might move at different rates, get blocked/diminished by walls, or have their radius diminish as they age. Guards would detect these sensations within an area around them and follow whichever one was “freshest” (shortest existence) in order to get close.

Conceptually I liked it a lot because it would make guards move in more sporadic ways where they’re actively having to “sniff” or “listen” for the sensation. But when I started considering the practical realities of how much collision detection I’d be jamming through the system, and edge cases where monsters would get caught on walls trying to find something with a thin pulse (or not tracking sporadicness of player generated sound) I decided to back down from it. We’ll be going with the more traditional method of pathfinding each sensation and using distance to determine how detectable it is.



0 comments

Loading...

Next up

We are under attack!

"Thanks guys for endless hours of fun." 👍

(My first fan art. Read the article, please.)

#sonic #mario #photoshop

Finished a project I've been working on over the last few days!

Modeled and textured in Blender.

#3dart #lowpoly #npbr #fantasy #hut

Just a Pico sprite

Werehog transformation process. #sonicunleashed

Back in my art school days I used to ride the 710 COPSA line from Parque Del Plata to Montevideo almost everyday. This is the Marcopolo Viaggio G4 Mercedes Benz model from the late 80s, one of the older bus models that was running on the line.

One of the most critical update for Sunblaze demo. Now you are able to pet a cat! Finally!

Microsoft Windows XP Unprofessional (windows logo prototype)

Today I tackled drawing different variations of facial expressions for one of the main characters in Eden. What do you think of it? :) Eden: https://gamejolt.com/games/Eden/592698

Let me introduce you to the new Mech line: Gendai Spec. Those are Mech that specializes in surprise attacks, covered operations, and stealth. They are equipped with melee weapons but one of Gendai's frames supports sniper rifles.