- 2 hours on-demand video content
- Access on mobile and desktop
- Last updated July 2021
Free
ENROLL NOWThis is a super short tutorial on how to write a simple game loop using C and SDL. We'll code a simple C project from scratch and learn how to configuring our C compiler to work with the SDL library.
You will learn how to write a minimal game loop, adjust a variable delta-time, and correctly configure a fixed time between frames. The final result will be a skeleton of a small 2D game that can be used as a starting point for more advanced projects.
All you really need is a code editor and a C compiler. All the tools we'll use are cross-platform, so you can follow along with either Windows, macOS, or Linux!
This course has no formal prerequisites. However, you should already know the basics of coding (if-else, loops, functions) and how to use the Linux command-line.
Gustavo Pezzi is a university lecturer in London, UK. He has won multiple education awards as a teacher and is also the founder of pikuma.com.
Gustavo teaches fundamentals of computer science and mathematics; his academic path includes institutions such as Pittsburg State University, City University of London, and University of Oxford.
"Way better than every YT videos! It was so good I immediately bought the full C++ Game Engine course, I can totaly recommend it."
"Nice course. Concise and consistent."
"I loved this course! I found it to be very professional and informative."
"Not for beginners. On 'Compiling Our Code With GCC' starts to speak in Greek."