Graphic design for dynamic weapon/armor on sprite
Members - Reputation: 105
Posted 19 April 2013 - 07:03 AM
Members - Reputation: 428
Crossbones+ - Reputation: 2125
Posted 19 April 2013 - 02:02 PM
Spriter is also a good tool for 2d animation. I'd suggest checking it out too.
Here's a video about it too.
---(Old Blog, still has good info): 2dGameMaking
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)
Moderators - Reputation: 3858
Posted 19 April 2013 - 03:34 PM
With a paperdoll system, the weapon and armor are on a separate layer than the character base. (So are hair, eyes, tattoos, anything customizable gets its own layer of spritesheet.) Each time the player changes equipment you programatically merge the layers into a single-layer spritesheet to display. ImageMagick is one such program that is used to do this. But yes, each weapon does need to have it's own animated sprite. If it's just an pivot animation (e.g. facing right and swinging a sword up and down) or a slide animation (e.g. facing right and poking a sword forward), that's quite simple, but sideways or diagonal attacks are more of an animation challenge.
Edited by sunandshadow, 19 April 2013 - 03:37 PM.