Sprites

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
Jordan4762
Prole
Posts: 13
Joined: Thu Oct 14, 2010 10:25 pm

Sprites

Post by Jordan4762 »

How the heck do I make sprites from a image like this
Attachments
Sonic.gif
Sonic.gif (65.75 KiB) Viewed 3498 times
- Jordan4762
Jordan4762
Prole
Posts: 13
Joined: Thu Oct 14, 2010 10:25 pm

Re: Sprites

Post by Jordan4762 »

I have no idea what to do. Do I need to seperate all the characters into different images?
Last edited by Jordan4762 on Thu Jul 21, 2011 4:43 pm, edited 1 time in total.
- Jordan4762
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Sprites

Post 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.
Kurosuke needs beta testers
Jordan4762
Prole
Posts: 13
Joined: Thu Oct 14, 2010 10:25 pm

Re: Sprites

Post 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?
- Jordan4762
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Sprites

Post 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.
Attachments
Mr. Squary, rolling on along.
Mr. Squary, rolling on along.
mr_squary.png (3.11 KiB) Viewed 3478 times
Kurosuke needs beta testers
Jordan4762
Prole
Posts: 13
Joined: Thu Oct 14, 2010 10:25 pm

Re: Sprites

Post 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.
- Jordan4762
User avatar
kraftman
Party member
Posts: 277
Joined: Sat May 14, 2011 10:18 am

Re: Sprites

Post 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.
User avatar
Ensayia
Party member
Posts: 399
Joined: Sat Jun 12, 2010 7:57 pm

Re: Sprites

Post 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.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests