Game Development Community

2d Character Itemization

by David Everhart · in Technical Issues · 11/21/2007 (4:52 pm) · 0 replies

I have seen various posts about mounting items to a 3d model at runtime, but what if it is a sprite? I am new to the game graphics world, and am having a problem conceptualizing the most efficient approach to rendering a character sprite, and then applying armor, weapons, etc to it at runtime, and have it sync with the animations. (A perfect example of this is Diablo II LOD).

I tried to create a base body sprite animation (off a 3d model that was then batch rendered), then apply a weapon animation, and merge it at runtime, and while that worked, I dont know if that is efficient or just a bad way to go. With so many armor and item combos, I dont want to render all possible combinations, or maybe that is what needs to be done? Any help is appreciated, or any pointers to where I can get more information. Thanks in advance!