Monthly Archives: September 2014

Common programming error

Right after posting about a stupid but time-wasting bug, I have an actually tricky bug that I still should have caught. I was doing a lazyfoo tutorial for SDL2, and I decided that I wanted to split up my work … Continue reading

Posted in Uncategorized | Leave a comment

They’re all stupid bugs

Short post, I just need to explain a pretty irritating bug that frankly should have been caught by the compiler. I had a bunch of nested loops where I was calling a bunch of boolean functions that, if true, allowed … Continue reading

Posted in Uncategorized | Leave a comment

Fun bugs with SDL2

Turns out that SDL2 has a bug in its SDL_platform.h header file. Version 2.0.3 has this bug, and it has been known about since March. The solution is to download version 2.0.2 and copy and paste the old SDL_platform.h into … Continue reading

Posted in Uncategorized | Leave a comment

Internet Sucks

It’s incredibly frustrating when the internet cuts out so often here. For many reasons, not least of which being that downloading SDL2 has been unsuccessful. It’s only 7.8 MB, but good luck to me in actually getting constant internet for … Continue reading

Posted in Uncategorized | Leave a comment

Problems with OpenGL

So I’ve been trying to fool around with OpenGL recently. Things have not been going well. Basically this is because OpenGL doesn’t actually have any way of easily creating itself. So you can either use windows window creation, or whatever … Continue reading

Posted in Uncategorized | Leave a comment

Sound in the Game

You’d think that it would be easy to play sounds in a game right? Not only am I using SDL, which deals with the operating system’s audio for me, but I’m using SDL_mixer, which makes things even easier. Unfortunately this … Continue reading

Posted in Uncategorized | Leave a comment

ACM competition

I decided to join Brock’s computer science club. One of the reasons was because of the ACM competitions. The Computer Science Club, or CSC, posted a practice problem on their facebook page. The problem was to: 1) For all numbers … Continue reading

Posted in Uncategorized | Leave a comment