This week was full work on the AI, which was lacking a bit, to say the least. It is a simple state machine that changes based on the distance to the character (far? jump, close? punch/kick) and its own physical state (falling? stucked? idling? close to edge?).
Eventually I managed to make sequence I'm quite proud of:
Several silly situations came out of it before I reached that stage:
The AI trying hard to punch, only to fall to their death.
Finally! It manages to punch me.
It's not really hard to terminate the threat.
Sometimes it even terminates itself... is the most convoluted way.
When your fighting your bro, and a brofist is mandatory.
The AI is not prepared to fight flying robots.
Ok, that was a decent punch.
So it does not get too cocky.
If you are interested in Posable Heroes, you can wishlist it on steam.