Game Development Reference
In-Depth Information
is very similar. The blocks variable held a list of data structures representing things to
be drawn to the screen, and these are drawn to the screen inside the game loop.
But without calls to input() , how do we get input from the player? In our next
chapter, we will cover how our program can know when the player presses any key on the
keyboard. We will also learn of a concept called collision detection, which is used in many
graphical computer games.
Search WWH ::




Custom Search