Making a sprite sheet

How to find or create sprites, graphics, sounds and music.

Making a sprite sheet

Postby catacomber » Sat May 10, 2008 7:38 pm

I have 9 images that make up an animation and I'd like to make one sprite sheet out of them but don't have a clue how to do it. Any hints? I'm searching in google but haven't found anything that really helps.
Last edited by catacomber on Sun May 11, 2008 3:39 am, edited 1 time in total.
User avatar
catacomber
 
Posts: 195
Joined: Fri Sep 28, 2007 5:36 pm
Score: 10 Give a positive score

Re: Making a sprite sheet

Postby DST » Sat May 10, 2008 9:26 pm

First you should determine the size of the sprite. This is the largest frame of the animation.

Then you create a file in your graphics editor that is 9x that width and 1x that height.

Then copy/paste each of your images into that new image, making sure they are spaced evenly across the image, and in order. When I say evenly spaced, I mean to either the center or the bottom of the image. This depends on what you want the character to do. For instance, if a character stabs forward with his sword, he becomes slightly 'wider', right?
In that case, align the feet of the character in each frame. Make sure his sword doesn't extend into the next frame. If he stabs upward...he becomes 'taller'. Once again, align by the 'feet' of the image.

For an explosion, however, you want to align to the Center of each frame. Does that make sense?

Then save it and load the image into GE, specifying (for your 9 frame example) horizontal frames: 9. Vertical frames: 1.

Set the animation speed and there you go!

Here are a couple of examples. Hope I've helped!
Attachments
explodestrip.png
boyr.png
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Re: Making a sprite sheet

Postby catacomber » Sat May 10, 2008 9:50 pm

Yes, that's very helpful cause it would give some flexibility.

Have you ever used a utility like XNView?

http://pagesperso-orange.fr/pierre.g/xn ... win32.html

Don't know if it's as good as making it as you did above but it worked -- until I saw your explanation above which I think might be a better solution. Thanks.
User avatar
catacomber
 
Posts: 195
Joined: Fri Sep 28, 2007 5:36 pm
Score: 10 Give a positive score

Re: Making a sprite sheet

Postby Murd-Machine[_] » Sun Jul 13, 2008 7:38 pm

It might sound strange, but I use Game maker built-in graphic editor for this. It can save any animation as stripe.
User avatar
Murd-Machine[_]
 
Posts: 72
Joined: Fri Nov 04, 2005 7:04 pm
Location: Moscow-city
Score: 1 Give a positive score

Re: Making a sprite sheet

Postby DST » Sun Jul 13, 2008 7:47 pm

The problem with that kind of animating is that its pixel art, which only makes very basic images.

When you make real art, with inkscape or illustrator, you can arrange them in the proper positions before you even export. In that case you wouldn't even need the graphic editor.
blacknight.png

Could you make that with a built-in sprite editor,
and then give it 15 frames of animation?
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Re: Making a sprite sheet

Postby Bee-Ant » Wed Jul 16, 2008 9:40 am

Why dont you make apps with GE which can help you working in GE???
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: Making a sprite sheet

Postby segwego12 » Wed Jul 16, 2008 7:43 pm

Go get apps.
http://www.freewebs.com/primewaregames/

The Primeware Games website

Projects
Era of Rome: Done
segwego12
 
Posts: 167
Joined: Mon Jul 07, 2008 2:48 am
Location: My Website, please come to my website.
Score: 3 Give a positive score

Re: Making a sprite sheet

Postby Thanx » Wed Jul 16, 2008 10:48 pm

Creating apps for GE is a nice idea, and creating a group of apps to go together to make a big tool is what makes some systems or programs nice out there,but with makslane as the only developer, I'd tell him just to concentrate on developing GE itself right now
We've got dozens of image, sound, sprite editors around at the moment anyway, we can live with them for now... :D
http://www.youtube.com/watch?v=XyXexDJBv58
http://www.youtube.com/watch?v=Be4__gww1xQ
These are me and playing the piano (second one with a friend/fellow student)
Hope you watch and enjoy!
User avatar
Thanx
 
Posts: 314
Joined: Sat Jan 26, 2008 10:07 pm
Location: Home sweet home! :)
Score: 24 Give a positive score


Return to Game Resources

Who is online

Users browsing this forum: No registered users and 1 guest

cron