i am designing a game with 3 computers to show a picture (1920 x 3000pixel at 1.4Mb size) scrolling on screen from top to bottom. My requirement is to require all computers to scroll to the bottom at the same time or 0.5 seconds difference between them.
firstly, i tried
do while until end of picture, thread sleep in loop to have scrolling effect
but the result is not satisfied. the difference between computers is up to 15 seconds
secondly, i tried
timer to scroll the picture until to the bottom
but the result is better but still not satisfied. the difference between computers is up to 6 seconds
any advice to do it? regardless of controlling scrolling speed, can i design in another way by scolling the picture within 40 seconds, the program control the speed by calculation.
Besides, i found when i run these kind of loop repeatedly. The result seems much better. the computer seems to adjust its CPU to run at full speed but my game does not run the loop repeatedly
Possible to set CPU speed by VB? Thanks a lot.