I was painting pixel sprites of a goblin (the enemies in the game). I first thought of making sprites of it for each different scenario:
facing camera, moving toward camera 1, moving toward camera 2, facing camera with sword, moving toward camera with sword 1, moving toward camera with sword 2, facing left, going left 1, going left 2 facing left with sword etc. (for a total of 18 sprites)
Then I wondered, how will I make the sword hit the player ? What if I want the goblin to have a different type of sword ? Do I have to make different sprites of it holding different weapon ?
I realised doing sprites for every scenario wasn't ideal. So my question is, how do I make this ? Should I keep the sprites I have but remove the sword from them and then add a sword sprite attached to the player sprite and animating it so it matches the players movement ? Is that the way to go ?

