Jump to content
  • Advertisement
Sign in to follow this  
someguy314

Help With Sprites

This topic is 2783 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have no idea how to make a 2D sprite animation!

I have GIMP and Photoshop, but I have no clue on how I'm supposed to make a 2D animation for Xna 4.0! Can someone please help me?

Share this post


Link to post
Share on other sites
Advertisement
The way I do it (and its not very fun and there has to be a better way is) I usually draw a line every X pixels that I want the frame to be (usually 64 or 96). Than I draw what I want the first frame to be. Copy that piece into the next frame at roughly the same distance the first frame was the start. (Usually I have to move each section a couple times to line them up perfectly). Than rinse and repeat until you have the full animation of your sprite.

Than it is up to you to either use someone's sprite class or write your own.

Share this post


Link to post
Share on other sites
I dunno about XNA, but making an animated gif in gimp is pretty simple. You make the canvas the size of the sprite you want, and each layer is a frame. There's an animation preview thingy under one of the menus where you can view your current set of frames. Save it as a gimp file to preserve all the data for editability, then save a copy as a gif animation when you want to use it elsewhere. This animation will show the object or character moving in place; you use programming to slide that across the game screen to show the object or character moving in some direction.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!