Not as Boring


Today I added some graphical enhancements so the demo isn't as boring.  The real changes are to the moves overall.

I added a limit to the number of turns a move's effect is active.  Once the specific number of turns has passed, the affected stat will reset.

This change will add a bit more strategy to the system.

In the image above, the Player One unit is cloaked.  This ability currently adds a -10 modifier to the enemy's accuracy.  Once the cloak deactivates, the enemy's stat will be adjusted by +10.

All enemy stats are accessed through interfaces.  These interfaces are retrieved via a class called TargetFinder that is on a trigger at the opponent's position.  So, the Player's Target Finder is at the enemy position.  Each Unit script then has a reference to their TargetFinder.

Using this system I can have multiple TargetFinder objects, and then enable the character to switch between targets, or even Target all of them.

Files

Archive.zip Play in browser
May 16, 2021

Leave a comment

Log in with itch.io to leave a comment.