|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (5 bit)
Join Date: May 2002
Location: Mtl,CAN
Posts: 16
|
VB simple BitBlt animation
I need some advice on animation in vb:
First, can I use other picture types than bitmap (ie jpg) with bitblt without performance loss? I just tried a simple animation (with a jpg) with bitblt but it is not perfect "smooth", the images blinks... Is this normal? If it is, then how can u make smooth animations in VB (without DirectX)? (I just put a timer with interval 1 and: Me.Cls BitBlt Me.hDC, cont, cont, Picture1.ScaleWidth, Picture1.ScaleHeight, Picture1.hDC, 0, 0, vbSrcCopy cont = cont + 5) Its as simple as that but vb still lags!!!!!!
|
|
|
|
|
|
#3 |
|
Member (5 bit)
Join Date: May 2002
Location: Mtl,CAN
Posts: 16
|
Ok thanks, the tutorial is quite good!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|