[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Main character animations.
- To: linuxgames@sunsite.dk
 
- Subject: Main character animations.
 
- From: Katie Lauren Lucas <katie@fysh.org>
 
- Date: Thu, 11 Apr 2002 08:39:23 +0100 (BST)
 
- Delivered-To: archiver@seul.org
 
- Delivered-To: mailing list linuxgames@sunsite.dk
 
- Delivery-Date: Thu, 11 Apr 2002 03:39:47 -0400
 
- Mailing-List: contact linuxgames-help@sunsite.dk; run by ezmlm
 
- Reply-To: linuxgames@sunsite.dk
 
- User-Agent: IMP/PHP IMAP webmail program 2.2.6
 
So I'm toying with this 2D spritey game idea. Has a main player character which 
has lots of pick-upable weapons (guns, bows, swords, spears). So I'm wondering 
how to handle this graphically. I can think of:
  1) Tons of sprites, going to need each weapon X each direction X each frame 
of animation.
  2) Layers of sprites, one to animate the main character, one to overlay a 
weapon on him/her. Issues of alignment, it might end up lacking graphical 
sophistication. I have a feeling this ends up needing (weapons X directions X 
frames + directions X frames) images in total.
  3) Cheat. Have the player carrying an indistinct black blob.
  4) Sophisticated cheating. Player carries nothing, when he starts fighting he 
draws a weapon. Not sure this reduces images much.
  5) Not caring. Player carries a sword. All the time. If he's got a gun he, 
erm... appears to shoot with a sword. Heck, if RPG players can cope with an "@" 
being a person...
In a 3D game this would be easy (attach appropriate weapon mesh to the player 
character's "hand" matrix)... but how do people do this in 2D games?
{Why am I developing in 2D? Because I'm doing this on a laptop. Because they 
won't let me take a workstation into work...}
_______________________________________________________________________________
      Katie Lauren Lucas, Consultant Software Engineer, Parasol Solutions
katie@fysh.org katie.lucas@parasolsolutions.com http://www.parasolsolutions.com