Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

D3Sphil

character sprites, how to do this?

This topic is 5307 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 am pretty new to game programing in a "real" programming language, yet I have plenty of knowledge with the language I am going to use. However, my question is this: I am going to be making a 2D game with pre-rendered character sprites. However, there are going to be many different "moves" the sprites will have to be able to do, such as swing a sword, hold a shield, cast a spell, etc... How would I set up a format to let me have all different kinds of characters be able to have these "moves"? So far I am making my sprites in a strip. What I was thinking is perhaps making all my "items" in different pictures with the animation''s for all their "moves" and then having the same basic movment in the character sprite so that I can combine them together... what do you people think? I hope this is the right forum to post this in. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Separate strips for characters and items are what most people usually do. This lets you easily give any character any item. It probably seems unclear, but once you try it will make perfect sense.

Share this post


Link to post
Share on other sites
that is what i was thinking...
I am just experimenting... All I have made so far is a simple program that loads a sprite strip and animates it.. I will work on multiple strips.. thanks

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!