Original Post
I''m new to game programming, been doing web software and unix system programming for about 5 years. Trying my hand at some "one armed bandit" type games. I''m using managed directx and I have all the display stuff figured out nicely, input handling etc, but I''m missing something when it comes to the correct way to handle time delays.
For example, someone clicks the "spin" button, I immediately generate the random numbers for the 3 results, but I don''t want to display them immediately, I want to light up a button for a second, then show each one with a delay between, then some sort of overlay if there is a winning combination or whatever.
All the logic is done, graphics displaying etc, but this timing thing is confusing me. I obviously can''t use sleeps because that would destroy the rendering, should I be using threads? Any sites I should be checking or books reading for this kind of information?
thanks in advance.