Well i took a look at the games you mentioned, it is just an animation played at certain angles, which is how top down games will usually work. You use the 8 direction behaviour and the player will be facing a certain way, the sword anim will play according to that.