Basándome en el aportado por Standelf, lo adapté para 12.x y se los dejo funcional:
Buscamos:
- SwapEffect = D3DSWAPEFFECT_COPY
Y lo reemplazamos por:
- If MsgBox("¿Desea limitar los FPS con VSync?", vbYesNo) = vbYes Then
- .SwapEffect = D3DSWAPEFFECT_COPY_VSYNC
- VSyncON = True
- Else
- .SwapEffect = D3DSWAPEFFECT_COPY
- VSyncON= False
- End If
Al final del Public Sub Engine_Init() agregamos:
- If Not VSyncON Then
- While (GetTickCount - fpsLastCheck) \ 10 < FramesPerSecCounter
- Sleep 5
- Wend
- End If
Y abajo de:
- Public EngineRun As Boolean
Declaramos:
- Public VSyncON As Boolean
Ahí tienen el mejor método para limitar sus FPS.






554![Dragon Ancestral [1] Dragon Ancestral [1]](./images/ranks/Rango30.gif)


![Dragon Ancestral [6] Dragon Ancestral [6]](./images/ranks/Rango35.gif)

![Dragon Ancestral [3] Dragon Ancestral [3]](./images/ranks/Rango32.gif)




![Legendario Inmortal [1] Legendario Inmortal [1]](./images/ranks/Rango36.gif)
