Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualsunandshadow

Posted 19 April 2013 - 03:37 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.


#1sunandshadow

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.


PARTNERS