title: Allegro 5 game: game loop that runs at constant speed?
body: <p>What is the best way to code a game loop in Allegro 5 that always runs at the same speed, and that properly separates drawing logic from update logic? Should I use threads or not? Should I make use of the new Allegro event system?</p>