Results 1 to 2 of 2

Thread: Image Movements

  1. #1

    Thread Starter
    New Member Berg84's Avatar
    Join Date
    Jun 2001
    Posts
    1

    Question Image Movements

    New to VB and I have created a game just like 1948 from NES. I am having some difficulties with the movement of the planes on the form. Right now I have the movements in a timer:
    imgPlane.top = imgPlane.top + (Selected Speed)
    But the game runs realy slow and the pictures are very choppy.
    Anyhelp would be appreciated.

  2. #2
    Junior Member Caleb's Avatar
    Join Date
    Jan 2001
    Posts
    24
    The problem is that VB's MFC control ( the image control ) was not design for animation.

    This is my suggestion.
    Try using the window api( BITBLT function) to display in a form or a picturebox.
    Go look for a tutorial on BITBLT. There are many around.

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