Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Day 5 is going to be busy, so I don't have a lot of time to code. I did come up with the logic for the knight AI.

State 1: Wandering aimlessly. They'll walk along whatever platform they're on. If they run into a ladder there's a random chance they'll take it, and then walk in a random direction.  Every so often they stop, and there's a 50-50 chance they turn around and go the other way. Hitting a wall or a platform end means they turn around and go the other way. If they see a goblin, they'll go into State 2.

State 2: Chase. They will move twice as fast (almost goblin speed) and pursue the most direct path to their target. If they see another closer goblin, it becomes their target. If they lose sight of their target for 2-3 seconds, they'll go back to State 1.

If a guard catches a goblin, that goblin dies. If the player hits a guard from behind, the guard dies.
Also made up sprites for baby goblins:

These wander around the level. Your job is to save them by killing the humans. If all the babies are killed, the game is over.