Archived

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

-Fruz-

Animation with single bitmaps

Recommended Posts

-Fruz-    122
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
eldee    122
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.

-eldee
;another space monkey;

Share this post


Link to post
Share on other sites