• Advertisement

Archived

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

Sprites

This topic is 5490 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

Advertisement
Guest Anonymous Poster
Sprites are game characters, or items. Just about anything you interact with in a 2d from enemies to powerups are sprites.

What is a sprite? Well a sprite is created very similar to how cartoonists make their cartoon characters. Each "frame" of the sprite is draw into a bitmap, and then placed along side each other this creates something that looks like a comic strip of still bitmap images that when "flipped" through in 2d look to be animated.

Share this post


Link to post
Share on other sites
but how do i move the sprite? when i move to the next frame do i erase the last one with a box, puttong some sort of a "mask" over it or do i refresh all the screen?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
You redraw the entire screen, background, sprites, items, everything every frame so erasing it isn''t needed.

Share this post


Link to post
Share on other sites

  • Advertisement