Game
Sins of the Past
8 years ago

Who needs sleep


The guard system is pretty much done, which leaves the rest of today to get player mechanics in place, and level design.

5d0ac013e75e3.png

How it basically works:
-Guards stick to their patrol path until they notice something
-Sensations pulse out on a timer (or event related) to all guards
-Guards have low and high priorities for sensations: if they’re on patrol they’ll investigate low priority sensations, but high priority sensations (ie a new noise close by) will override them.
-When they reach a sensation they start wandering near it randomly to check for things
-Once guards have checked a sensation out, it gets marked and will be ignored for awhile (possibly forever)
-Guards have attention spans, if they’ve been following the same sensation for awhile they might lose interest and try another one.
-Naturally spotting a player overrides all other behavior in order to chase and, eventually, attack them.

On the downside, guard path finding is a bit janky around corners due to godot’s pathing not handling tile based pathing correctly. There’s a possible workaround, but I don’t really have time to add it.

Aside: We tried 8 directional movement for the first time (way better for pixel movement and guard sight angles), and it’s pretty sweet.



0 comments

Loading...

Next up

Bandana Dee the Dream Friend

What do you think guys in my robot?Just a beginner in 3d modeling..

My instagram https://www.instagram.com/rojhonbb/

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

a drawing I did because I was bored😪. But I love how it turned out.😊

Regular exercise is key for healthy wings.

Try it out!

https://gamejolt.com/games/AeonNightmares/605184

If you have more of an acquired taste, the restaurants in Niravasi have you covered! Maybe skip the salad bar, though.

Cash Banooca

not the greatest house, but it's a house! :D

I mostly build 3D First Person Shooter game mechanics in Unity, and in this I'm just showing C4 mechanics I made for a little side project I am working on! :)

Some Shadow boss fight gameplay 👾