Table of Contents Introduction Chapter 1 – The Elements of Game Programming Game Design Graphic Design Chapter 2 – Controlling Your Game The Keyboard Default Handling Keyboard Procedures KeyPress KeyUp and KeyDown KeyStates KeyPreview Keyboard Example Chapter 3 – Animation And Sound Moving a Control Drag and Drop Icon Animation What is a Timer Control? Bit Blitting Sprites Collision Detection Sound Generation Chapter 4 – Making the Computer Think Delay Function GetRandom Chapter 5 – Exercises in Game Programming TicTacToe Slider Pong |