Scanline/Raster position

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Starax.

Hi there, I am wondering how I can get the scanline position of the current frame that is being drawn.
I want to know how much time I have left after drawing x amount of sprites before the next frame starts.
I know that BlitzBasic has this feature and its quite an important feature if you want to make sure your game stays above 60 frames per second.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

I could add that. Ok, on my TODO list :).

Fred - AlphaSND
Post Reply