The Game Loop
CS 4730 - Computer Game Design
CS 4730
Event-Driven Programming
CS 4730
Event-Driven Programming
CS 4730
Event-Driven Games
CS 4730
How are video games structured?
CS 4730
The Game Loop
CS 4730
The Game Loop
Credit: Walker White
CS 4730
The Game State
CS 4730
Flip Book / Game State
CS 4730
The Game Loop
CS 4730
Step 1: Player Input
CS 4730
Step 2: Process Actions
CS 4730
Step 2: Process Actions
CS 4730
Step 3: Process NPCs
CS 4730
Step 3: Process NPCs
CS 4730
Step 4: Process the World
CS 4730
Step 5: Prepare to Draw
CS 4730
Step 6: Pre-draw to Buffer
CS 4730
Step 7: Swap Buffer to Screen
CS 4730
High-Level Game Architecture
Credit: Walker White
CS 4730