Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Sounds interesting, thank you for the reply. To me it almost sounds like a Punch Out type game where learning the pattern and avoiding it until the gap is the key to winning.

If you don't mind me asking, how would you (pseudo) code the pattern? Would it be an array of (say) 5 ints, where each int is decided by a percentage chance to attack? I can't see in my head how to get the individual chances into a stream that plays out.

I was thinking no "chance of attack" - if there is an attack in that time in pattern, it happens.

So, something like - choose randomly the duration of pattern, add attacks at random times in this pattern;s duration. Then check that there is no attacks too close to each other, and there is right amount of gaps wide enough that player can squeeze his attack. At lower difficulties you will want more, wider gaps and vice versa.

You make several patterns for a monster like that and don't change them afterwards - all randomness after that is how patterns chain together.

I think I actually understand how you're explaining you would do it! Sounds like something I could probably do over a longer period of time than the jam, but I'd like to try this if not just for a challenge. Thank you again for your idea.