Friday, July 9, 2010

Dead Bodies Everywhere!

Still squaring a few things away with command menus. Creatures are now dropping corpses when they die, which is essentially an item clone of themselves with some graphical modifications. The portrait gets replaced by crossed bones. I considered using a skull and crossbones but I thought that might look ambiguous with skeletons and necromancers running around.

For a little graphics enhancement I created a new GameObject array for VanishingObjects. Whenever a Creature dies or an Item is picked up it creates a graphical clone with a 1 second lifespan. As the vanishing object approaches the end of it's lifespan it's alpha value decreases making the object more and more transparent until finally it disappears. It's a definite improvement over the harsh instant transition from Creature to corpse.

No comments:

Post a Comment