Daniel Petersen's Blog

Documenting my struggle to make videogames, amongst other nonsense


Home Projects

Breakout

My first non-console program! I had found a library called SDL and, along with it, a tutorial for SDL called Lazy Foo. I love whoever created that tutorial. He walks you through how to use SDL, but he does so in a way where he gives you the tools and knowledge to create something yourself without actually holding your hand and making it for you.

One of the tutorials on his website shows you how to display a dot image on the screen and move it around with the arrow keys. I took that code and transformed it into a very simple version of breakout. I remember being excited at the entire prospect of doing this, it was just very cool to finally start making something that resembled an actual program.

Built with C++ and SDL


Copyright © - Daniel J. Petersen