View Single Post
 
Old 02-04-2014, 12:28 PM
sjm2357 sjm2357 is offline
Newcomer
 
Join Date: Dec 2013
Posts: 4
Default Moving 2 sprites without using a timer.

Hi all,
I'm new to game programming so please excuse me if this has been asked before....

I've created a Pong game that uses a timer to control the main loop of the game, but I've seen another game (Pacman) that has multiple sprites moving at the same time without using a timer.
The Pacman game has classes for the sprites, does this remove the need for a timer? I mean does the game create a new thread for each of the sprites, or how is the game controlled?

Thanks,
Sean.
Reply With Quote