I’ve been following Handmade Hero basically since the beginning, although I know myself too well to start watching the videos straight away, it’s like watching a TV-Show and when the episode ends you just want to jump to the next one! I simply can’t wait! So I gave it time to have more videos and then I can catch up.
Now was the moment for me to start, there are 20 videos on Youtube, Casey Muratori has been doing an excelent work explaining everything to us and I just can’t wait to start seeing more and more! Also I liked it so much that I contributed by Pre-Ordering which gives you access to the source code.
There’s only one problem, I only use OSX as my Operative System and right now the videos are very focused on Windows Operative System, but that is no show stopper! No, no, no!
Furtunately there’s been a lot of attention, and lots of people believe in this project and they have been helping out! I found out that David Gow is doing a port for Linux which he called it Handmade Penguin and I’m very grateful for that!
There’s a few caveats from following David’s code, because Linux and Unix are very similar systems, but as they say the beauty (or headache) is in the details!
- You should install SDL from source, so you have it available on the terminal.
- David suggests KDevelop for debugging, but you will not find it on OSX, I found instead Clewn, but I didn’t install it as it depends on netbeans and felt like too much effort for now, maybe on a later stage.
## Surprise, Surprise!
I followed Chapter 1 and Chapter 2, when I finished my code on Chapter 2 based on David’s I notice that something was wrong, initially I thought that I had missed something, the window was suppose to be flickery when it was resized or dragged around, but such thing wasn’t happening, so I decided to print some text inside the case statement, just in case it was too fast for my eyes to catch, but after some resizes and dragging around my text didn’t appear, so there was only one explanation, it wasn’t getting inside the case statement. As I’m not a game developer I felt the need to contact David and tell him about the situation.
I sent him the following email
For my surprise David actually answered my email, which I think it was very kind of him, honestly there’s not that many developers that take their time to answer, specially on a weekend! His answer was very friendly and detailed why the situation differs from both operating systems.
I think this is very important to share because allows people to understand that different operating systems behave differently even when they are quite similar.
And as David says “this is a bit hard to find”, if he never replied I probably would never get it because SDL, C++ and game developing itself is out of my comfort zone, I don’t do it on a daily basis which makes it difficult to know what to search for when you are in need.
Thank you for reading,