Page 1 of 1
Sprites
Posted: Thu Jul 21, 2011 4:24 pm
by Jordan4762
How the heck do I make sprites from a image like this
Re: Sprites
Posted: Thu Jul 21, 2011 4:35 pm
by Jordan4762
I have no idea what to do. Do I need to seperate all the characters into different images?
Re: Sprites
Posted: Thu Jul 21, 2011 4:36 pm
by tentus
Double-posting is considered rude, unless it's been a reasonable amount of time (I would recommend around 24 hours).
To answer your question, Photoshop. Use the Magic Wand to select the background and make it transparent, then rearrange the remaining image data into sheets that
AnAL can use.
Just a friendly warning, Sonic is very, very copyrighted. Making an original animated character would be better in the long run in every conceivable way.
Re: Sprites
Posted: Thu Jul 21, 2011 4:48 pm
by Jordan4762
tentus wrote:Just a friendly warning, Sonic is very, very copyrighted. Making an original animated character would be better in the long run in every conceivable way.
Forget that it is sonic, how do I do it in general?
Re: Sprites
Posted: Thu Jul 21, 2011 5:01 pm
by tentus
Ah. Well, in a nutshell, you are creating a series of frames that are laid out side-by-side. Each frame has to be the same size (say, 64x64 pixels), though the contents will vary. Attached is an example, with the divides hilighted in red. Notice how it is four frames of 64x64, arranged into one 256x64 image.
How you make the contents vary dramatically based on intent and personal skill. I personally use Photoshop, relying heavily on smart objects for the components that do not change from frame to frame.
Re: Sprites
Posted: Thu Jul 21, 2011 5:05 pm
by Jordan4762
Ok, but I really need to know how to seperate that into different 'frames' in the coding, so I can, say, animate it.
Re: Sprites
Posted: Thu Jul 21, 2011 5:11 pm
by kraftman
Jordan4762 wrote:Ok, but I really need to know how to seperate that into different 'frames' in the coding, so I can, say, animate it.
Try following the linked tutorial.
Re: Sprites
Posted: Thu Jul 21, 2011 5:13 pm
by Ensayia
Look in the LOVE wiki at using image quads. They allows you to draw only portions of large images, and are often used for this sort of thing.