Posts

Showing posts from October, 2012

Game Programming, The Journey: Part 2

The mighty Game Loop Previous in the series: A new long term challenge: Game Programming Game Programming, The Journey: Part 1 Any game should have one, or at least say the experts on the matter. They also say that it's the place to start. But it's really not as simple as that. A simple implementation of this loop would be as follows: variable game_is_active of type boolean = True while game_is_active do     execute run_game     execute refresh_display end exit The run_game function is where the logic of the game is processed and the refresh_display function is where the graphical display is updated with the data from the game objects. This is the most broad representation of a game. and the catch is how you will implement each function.  But before anything One always do a practice run on something else before a big project. So I think I'm going to have a go at a Sudoku clone before tackling the bit RTS project. Complicating things &quo