Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

For example, I created my character drawing on Paint.NET using the Pencil tool and now it's a sprite like asset.

If I want him to move do I need to create many different poses for him and render them according a timer? Or do I need to have each pose side by side in a single image, then render the rectangle I need, thus loading the picture only once?

Thanks.

share|improve this question

1 Answer 1

Usually you try to have them in a single file(maybe even fit multiple characters/backgrounds in just 1 image) and then do all the magic in memory.

This files with a lot of images are called Sprite Sheets and you can find a lot of them online.

There are many tools out there to manage sprites and aprite sheets both language/framework specific or general use.

Some of the things to consider is if you have things of different sizes, perspectives, how do you represent that information about the sprite sheet.

Depending on the platform and type of game it might be more or less important to use optimization in this area, I would suggest to always Keep It Simple if possible.

share|improve this answer
    
any recommendations on Sprite tools? (for creating sprites, as I can never get the center just right or even to manage them XNA/C# related would be awesome) –  Spooks Oct 7 '10 at 12:41
1  
@Spooks, i am not a good artis so I have little experience with sprite creation, I try to get all my sprites from the Creative Commons world(great link: gamedev.stackexchange.com/questions/20/…) but when I need something really specific I use pixen. It has layers, and that for me is REALLY important, it makes it easier for me to have a layer for each part and be able to turn it on/off really easy. It is a mix between paint and gimp, exactly where I need it to be. –  DFectuoso Oct 7 '10 at 16:13
    
pixen looks great, except im not running a Mac:( thanks for the link tho! –  Spooks Oct 8 '10 at 13:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.