Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Pong (with Lua) - CS50's Intro to Game Development

via freeCodeCamp

Overview

Dive into game development by creating the classic game Pong using Lua and LÖVE2D in this comprehensive video lecture from Harvard University's CS50's Intro to Game Development course. Learn essential concepts such as game loops, 2D coordinate systems, and AABB collision detection while building a functional Pong game from scratch. Explore topics including texture filtering, class implementation, state machines, and audio integration. Follow along as the instructor guides you through various updates, from basic rectangle rendering to implementing victory conditions and resizing functionality. Perfect for beginners, this hands-on tutorial provides a solid foundation in game development principles and practical coding experience with Lua.

Syllabus

) Introduction.
) Lecture Topics.
) What is Lua?.
) LÖVE2D.
) Game Loops.
) 2D Coordinate System.
) Lecture Scope.
) The Day-0 Update.
) The Low-Res Update.
) Texture Filtering.
) The Rectangle Update.
) The Paddle Update.
) The Ball Update.
) The Class Update.
) The FPS Update.
) The Collision Update.
) AABB Collision Detection.
) The Score Update.
) State Machine.
) The Victory Update.
) The Audio Update.
) bfxr.
) The Resize Update.

Taught by

freeCodeCamp.org

Reviews

Start your review of Pong (with Lua) - CS50's Intro to Game Development

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.