Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

Win32 - Questions about Settimer/ TimeSetEvent

$
0
0

I plan to do some sprite animation, and obviously it will require timing of some sort for the frames and movement of the sprites. I am aware of two methods to perform timing, though I'm sure there are others. I have seen it stated many times that Settimer is not the most accurate implementation, if not difficult to work with. I was wondering if it is possible/ advised to implement two seperate Settimer events to control both frame speed and movement speed respectively.

My program will not have more than about 8 instances of a 28-frame sprite on-screen at …


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>