I've altered the battle system to be A) sideview and to B) move battlers permanently after an attack. So now, instead of Alex rushing to attack a ghost and then returning to his starting position, he stays next to the ghost. Because of this, battlers will scatter across the map, which allows for tactical potential. One such tactical feature is the ability for battlers to 'intercept' enemies en route to a vulnerable ally. The problem I'm having is: where do the two battler's meet?
To give you a better picture of how this works, the battle field is divided into a 10x6 grid. Only one battler can occupy any given space on this grid. Battlers always move in a straight line, even through other battlers. They also move at varying speeds, depending on their agility and the weight of their armor.
Scenario 1: Deadeye is an archer who's vulnerable to melee attack, but can stand at the edge of the battlemap (10, 5) and fire at enemies without having to move. His enemy, Oglaf the viking warrior, decides to rush him from coordinates (3, 5). Deadeye's good buddy Yoyoma (9, 5) decides to intercept. Where do Oglaf and Yoyoma meet? How is this calculated? (Sounds a lot like an SAT question, doesn't it?)
Scenario 2: Things get trickier when the action isn't happening in a straight line. Once again, vulnerable Deadeye is in the back row (10, 5). This time, however, Oglaf is at an angle to him (3, 7), as is Yoyoma (8, 4). Where do they meet? How is this calculated?
Scenario 3: Now let's include speed. Everyone's in the same position, Deadeye (10, 5), Oglaf (3, 7), and Yoyoma (8,4). However, before charging Oglaf puts on his Super Heavy Platemail of Death, while Yoyoma strips off everything, applies some warpaint, and rushes at Oglaf in a beserker's rage. Given that Yoyoma is two times faster than his opponent, where do they meet? How is this calculated?
I figure that trig plays a role in here somewhere, but I foolishly skipped that class to go to calculus, instead. Anyone have an elegant solution to this problem? I know one has to exist, but I'm at an utter loss as to what it could be.
Thanks,
tuatha
To give you a better picture of how this works, the battle field is divided into a 10x6 grid. Only one battler can occupy any given space on this grid. Battlers always move in a straight line, even through other battlers. They also move at varying speeds, depending on their agility and the weight of their armor.
Scenario 1: Deadeye is an archer who's vulnerable to melee attack, but can stand at the edge of the battlemap (10, 5) and fire at enemies without having to move. His enemy, Oglaf the viking warrior, decides to rush him from coordinates (3, 5). Deadeye's good buddy Yoyoma (9, 5) decides to intercept. Where do Oglaf and Yoyoma meet? How is this calculated? (Sounds a lot like an SAT question, doesn't it?)
Scenario 2: Things get trickier when the action isn't happening in a straight line. Once again, vulnerable Deadeye is in the back row (10, 5). This time, however, Oglaf is at an angle to him (3, 7), as is Yoyoma (8, 4). Where do they meet? How is this calculated?
Scenario 3: Now let's include speed. Everyone's in the same position, Deadeye (10, 5), Oglaf (3, 7), and Yoyoma (8,4). However, before charging Oglaf puts on his Super Heavy Platemail of Death, while Yoyoma strips off everything, applies some warpaint, and rushes at Oglaf in a beserker's rage. Given that Yoyoma is two times faster than his opponent, where do they meet? How is this calculated?
I figure that trig plays a role in here somewhere, but I foolishly skipped that class to go to calculus, instead. Anyone have an elegant solution to this problem? I know one has to exist, but I'm at an utter loss as to what it could be.
Thanks,
tuatha