Animation Blendspace for a top-down game?

Hi,

If I have separate animations for a character (walk forwards, backwards, and strafing side to side) how do I go about blending them appropriately based on the following scenario:

My game is based loosely off the “top-down” example - however, the rotation of the character is determined via looking at the mouse pointer, and the character can move in any direction, but will always face this cursor. For example, if the mouse was at the top of the screen and I pressed W, then the character ought to walk forwards - but if the mouse was on the left of the screen and I pressed W, the character would be facing left and would strafe instead of walk forwards.

Any help would be greatly appreciated - I am still coming to terms with the animation system and so any resources would be useful. Has anyone implemented a similar “twin-stick” game?