bsergent / overmorrow

Typescript canvas game engine
http://challengercity.com/v4/projects/overmorrow/
0 stars 1 forks source link

Rotate held item in accordance to attack direction #37

Open bsergent opened 6 years ago

bsergent commented 6 years ago

Since the player attacks in the direction of the mouse, not just the direction faced, there needs to be some visual cue. Instead of adding more directions to draw and animate, just rotate the item slightly to direct which way the player will attack (forward, left, or right).