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

Bandana Dee the Dream Friend

Successful landing

#screenshotsaturday

Demonstration of the spells and their effects :)!

A house I've built a while ago. :)

It nicely separates the snowy biome from the grassy one.

It's built with painted Ebonstone.

2d lighting experiment

Out of boredom and curiosity, I coded Sailor Jupiter's Argentine Backbreaker.

Animation test. Not an actaul conclusion to who wins sonic vs Mario. Just a test animation combo.

Sonic and Shadow as Pokémons. #Fakemon

Pigs can push buttons for you!

#gamedev #pixelart #screenshotsaturday

Don't forget to wishlist Toodee and Topdee on Steam!

https://store.steampowered.com/app/1303950/Toodee_and_Topdee/

Our Japanese themed game released yesterday on Gamejolt + Itch io if anyone would like to check it out! :) You play as a spirit of a japanese wolf.