Build your own 2D games from scratch using the powerful C library SDL

Writing 2D Games in C using SDL by Thomas Lively · 47:32 · Video: CS50 · Watch at the source

In short: Thomas Lively introduces the Simple DirectMedia Layer, a cross-platform library that powers everything from indie projects to major blockbuster titles. This seminar provides a foundational look at game architecture, guiding you through the essentials of building, rendering, and input management in C.

The Simple DirectMedia Layer (SDL) is a versatile C library designed to handle rich media requirements across various platforms. This session demystifies the structure of game code, offering a practical walkthrough for developers looking to move beyond basic programming into interactive 2D environments.

Participants learn the complete lifecycle of a game application, starting with library installation and initialization. The seminar covers the technical mechanics of managing game windows, rendering images, and capturing user interactions via keyboard and mouse. By the conclusion, you will have a functional demo that serves as a scalable foundation for more complex projects.

Opens the Intellect+ feed with this card first. Swipe up for the next one.

Sources

To cite this card, link to https://intellectplus.co.uk/app/technology-writing-2d-games-in-c-using-sdl-by-thomas-lively.

How we source, check and correct cards: Editorial standards.

General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.

Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?

Related

Finding something worth knowing…