Cataclysmanic / GO2022

4 stars 1 forks source link

Create NPC behaviour #35

Closed plexsoup closed 1 year ago

plexsoup commented 1 year ago

At the very least, they should try and move around and maybe shoot back.

Even Better if they had objectives and A* pathfinding.

plexsoup commented 1 year ago

Volcano got the pathfinding working. Now we can add some goals and different types of behaviour. (Currently we have a working zombie game, where all NPCs chase you relentlessly.)

plexsoup commented 1 year ago

NPCs can shoot now. The actual logic around when and where to shoot need some work.

plexsoup commented 1 year ago

see also: issue #57 If we implement stealth, NPCs will need some stock behaviour for when they don't see the player.

plexsoup commented 1 year ago

I'm planning to add static patrol routes to NPC spawn locations, so they follow a path instead of hunting the player straight away.

plexsoup commented 1 year ago

NPCs have patrol routes now. Closing this ticket. Of course, NPCs could have much more interesting goals, behaviour and routines, but what we have will do for a game-jam game.