Results 1 to 2 of 2

Thread: Sprites

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Posts
    2

    Post

    I am creating a monopoly game using VB for my OAC programming course. I am using sprites to animate the peices. I currently have all the frames saved indivdually as .bmp. There is 28 frames per 9 animations. Thats a lot of files to work with. If anyone can help me by telling me how to use sprites on a single .bmp I would be truly greatful.

    G

  2. #2

    Post

    You can put all of the images for an animation into one BMP. Just put them in a grid (kinda like a checkerboard) and save them as one BMP. Then, when you want to use them, just load the BMP into a hidden picture box and BitBlt the piece that you need. (For example, if you want the piece of your image that begins at 200,100, send that to the BitBlt function.)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width