-
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.
-
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.