Save this video — free

CS50 2D - Lecture 2 - Breakout (live, unedited)

CS50 · 3:15:40 · Watch on YouTube

CS50 2D - Lecture 2 - Breakout (live, unedited) Watch on YouTube →

Overview

CS50's Introduction to 2D Game Development (CS50 2D) lecture two focuses on building the classic game Breakout, extending concepts from Pong. David J. Malan and Colton Ogden demonstrate implementing features like sprite sheets for efficient graphics, procedural level generation, state management for game flow, collision detection for ball-brick and ball-paddle interactions, particle systems for visual flair, and persistent high scores using file I/O. The lecture covers advanced topics such as quads for texture slicing, state diagrams, and the use of Lua's goto for simulating continue statements.

Key takeaways

Chapters

14:51 Introduction to CS50 2D and Breakout
22:40 Breakout Game Demo and Features Overview
29:00 Breakout Game History and Mechanics
33:20 Breakout Game Demo with Volunteer
41:00 Breakout Game Features: Scoring, Health, and Persistence
51:41 Breakout Game Development Topics Overview
56:00 Breakout Game State Machine Diagram Explained
1:00:41 Project File Structure and Organization
1:05:39 Dependency Management and Global Variables
1:08:23 Implementing the Start State and Menu Navigation
1:13:26 Introduction to Quads and Sprite Sheets
1:17:25 Rendering the Paddle Using Quads
1:27:07 Generating Quads for Game Assets
1:33:22 Paddle Rendering with Quad Offsets
1:45:03 Adding the Ball and Basic Physics
1:53:47 Implementing Bricks and Collision Detection
2:00:29 Procedural Level Generation with LevelMaker
2:18:22 Brick Tiers and Scoring System
2:32:08 Advanced Collision Detection: Ball and Bricks
2:35:09 Paddle-Ball Collision Physics
2:48:27 Brick-Ball Collision Resolution

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, CS50.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.