It repeatedly processes input, updates game objects, and renders the screen.
Duration of the online course: 15 hours and 23 minutes
New
See how classic games work and build skills in game loops, sprites, and physics with this free online 2D game development course.
What happens between pressing a button and seeing a character move? Introduction to 2D Game Development is a free online course that uses familiar games to explain the programming behind what you see on screen. You will explore the game loop, the cycle that reads player input, updates the game world, and draws the next frame. Understanding that cycle gives you a way to trace how a single action, from moving a paddle to launching a projectile, changes what happens next.
Classic games make those ideas easier to see. In Pong, a bouncing ball shows how movement and collisions shape a rally. Flappy Bird demonstrates how background layers that scroll at different speeds create a sense of depth, while Breakout shows why developers store multiple graphics on a single sprite sheet. In a Match-3 puzzle, the focus shifts from movement to sequence: matched pieces disappear, the pieces above them fall, and the board is checked again. The order matters because each change can trigger another match.
The course also looks at how the rules change when a game adopts a different perspective. A side-scrolling platformer such as Super Mario Bros. uses tile maps to lay out terrain and obstacles, while a top-down game such as The Legend of Zelda gives players a different range of movement. Angry Birds provides a familiar setting for exploring how different Box2D body types respond to forces. Pokémon illustrates a different programming challenge: using a state stack to open a menu or start a battle and then return to the previous screen.
Short exercises give you a chance to apply what you see in the video lessons. You might pick the right graphic from a sprite sheet or work out what should happen next when a puzzle match clears part of the board. If you are new to game development or looking for a practical way to connect programming concepts with game design, this course will help you look at a game mechanic and break it down into rules you could use in a project of your own.
15 hours and 23 minutes of online video course
Digital certificate of course completion (Free)
Exercises to train your knowledge
100% free, from content to certificate
What does a game loop do in a 2D game?
It repeatedly processes input, updates game objects, and renders the screen.
How does parallax scrolling create depth in a 2D game?
It moves background layers at different speeds to create an illusion of depth.
What are the main Box2D body types used in 2D games?
Box2D uses static, kinematic, and dynamic bodies, each with different movement and physics behavior.
Ready to get started?Download the app and get started today.
Install the app now
to access the courseOver 5,000 free courses
Programming, English, Digital Marketing and much more! Learn whatever you want, for free.
Study plan with AI
Our app's Artificial Intelligence can create a study schedule for the course you choose.
From zero to professional success
Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.
You can also use the QR Code or the links below.
Video Courses
recommended
Ideal for beginners
Exercises
Test your ability to interpret performance data, diagnose frame-time bottlenecks, and optimize games efficiently.
Start exercisesTest your knowledge of skeletal animation, skinning, blending, root motion, inverse kinematics, retargeting, and compression.
Start exercisesTest your knowledge of spatial sound, adaptive music, mixing, looping, optimization, and other practical game audio techniques.
Start exercisesEbooks and audiobooks
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks