I recently tried to load a PNG file into an SDL_Texture to render on screen. SDL supports BMP only by default, so I’d need to grab a library. SDL_Image exists as an extension to SDL and runs on any platform supported by SDL. It’s a great option that I’ll probably use it at some point, but I’ve always been a fan of the lightweight stb libraries. So for fun I decided to go with stb_image.
Tag: gamedev
SDL and VSCode
I recently took the time to set up a new VSCode project to work with SDL as a learning exercise. To do this, I adapted this LazyFoo tutorial for Visual Studio. The whole process probably took me an hour or so (less than it took me to write this blog post, sadly).
Let’s start off by looking at the project layout.
Hello, World!
Having my own blog is something that’s been in the back of my mind since around 2008. That’s the year I graduated from University and started working full time at THQ. It’s also the year Braid came out. I think it was the first game in which I actively followed the development process. I did so via Jonathan Blows blog, which I began following after watching his Indie Prototyping presentation at the Independent Game Summit (GDC) in 2007.