Disable invalid actions and animate pathfinding


This week brings a few UI improvements.
Expensive actions are grayed out
Torrin's Healing Touch costs 2 Action Points. If she only has 1, it will be grayed out.
If you hover over the action, it will tell you why it's disabled. In this case Torrin needs 2 Action Points.
There was at least 1 playtest where someone rushed in to help Sir Camil, only to realize Torrin was out of actions. This will help reduce invalid options. More to come with warnings like "no valid targets in range" and "no valid targets even if you move".
I also want to add information about range and damage into this popup so they don't take up as much room.
Moving around enemies
When squaddies moved on the field they would take a direct path, even if they moved through an enemy. It may be easier to understand with a screenshot. In this sample map, I'm moving Torrin to move all the way to the right. The blue path highlights the actual route she took.
The animation engine used to move Torrin through the Slither Demon and move straight to the right without detouring around it. The underlying pathfinding engine always knew Torrin should move around the enemy.
What's next?
This week got real busy. There's some clean up I'll handle, and then I'll work on disabling the Raise Shield ability so you can't use it twice per turn. Click to move may get updated so Torrin doesn't run into melee with her ranged attacks.
Files
The Battle of Fell Desert
Turn Based Strategy in a magical desert land
Status | In development |
Author | Chadius |
Genre | Strategy |
More posts
- Version 0.0.053 - Action Point Cost under the Action Buttons3 days ago
- Version 0.0.052 - Keyboard controls to select actions8 days ago
- Release 0.0.051: Attack Roll Thermometer14 days ago
- Version 0.0.050 - Attack Modifier Animation and a Readme24 days ago
- Version 0.0.049: Animated dice rolling and speedup30 days ago
- Version 0.0.048: Training Wheels are go36 days ago
- Version 0.0.047: New Reaction Drop45 days ago
- Nahla Sketch52 days ago
- Version 0.0.046: Status Ailment Tabs59 days ago
- Version 0.0.045: Action Hints65 days ago
Leave a comment
Log in with itch.io to leave a comment.