Hi! I'm making a 2d adventure game. I have some important animations and sound sync in it. Will it be an issue for other computers if I just use "delay" or I have to go through all this millisecond/timer stuff?
Timing in 2D?
BlitzPlus Forums/BlitzPlus Beginners Area/Timing in 2D? Hello,
Öhm. Millisecs is right. Delay stop the complete program. That not good! ;-)
cu
Öhm. Millisecs is right. Delay stop the complete program. That not good! ;-)
cu
I've found that specifying movement and animation in terms of millisecs works best. For instance: Instead of thinking my character moves a pixel every game loop, think my character movers a pixel every 500 milliseconds. if you define speed in terms of milliseconds then .002 would be his speed becuase 500*.002 = 1 . I don't use milliseconds though, I use 100=1 second.
I use millisecs. Delay would not be good.
oops, got lost in the blitzplus section, thought i was in Blitzmax... sorry.