Jump to content
  • Advertisement


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


Animation with single bitmaps

This topic is 6147 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''m adding animation (spinning ship when turning) n I saw a cool thing. Before I used many pictures n loaded em when I needed em. Now, I wanna put all the images in one bitmap. C? I wanna animate by actually moving the btimap inside the picturebox. I''we seen this method is used in many games, but I don''t have a clue! I''m using VB n tried using this: Picture.picture = LoadPicture("location",,,X,Y) I changed X n Y, but the picture stayed the same :\ Any sugestions? Plz! JFK

Share this post

Link to post
Share on other sites
yeah.. bitblt
use it.

load your image to an offscreen picturebox or temporary hdc (if you''re that far along into vb yet), then call bitblt when you need it.

;another space monkey;

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!