I have not posted in a while.
I am currently working on version 16.6. Here is a preview.
I improved CPU AI. The CPU is observing target player state and making a random decision based on weights set by certain conditions.
Now the CPU is able to crouch attack the opponent when he is on the ledge as a sort of edge-guard.
For the CPU AI behavior, there is 1 layer set by a .json file for charater-specific actions.
Then, there is a deeper layer that sets basic automatic CPU behavior that should be common in all CPU, and would be a waste of time and resources to define in a .json file.
This automatic CPU behavior is hard-coded and includes jumping to get back to stage, moving to stage center, moving away from the player, moving closer towards the player,
and hitting the player on ledge with a crouch attack.
Crouch attack is now a specially designated tool for hitting players on ledge or a janky tool for poking players on stage.
Before, it was not well defined and just existing with little purpose.
You can see invincibility after death is working in the video as well.
https://youtu.be/zxF_aW1Ftzw