C++ Diaries

4 min read

Deviation Actions

Okk's avatar
By
Published:
966 Views
Day 1:
It's been a dream of mine since I was around age seven to become a game developer. I needn't even do it professionally, so long as I'm putting my games out into the world for people to play. Roughly every month since that age, I've attempted to get into game development, but invariably I've been met with little more than frustration. Abandoning my lifelong dream is a deeply depressing idea, but it may be time to come to terms with the harsh reality of the matter.
As a last ditch attempt before finally giving up forever, I've decided to learn C++. I've found some tutorials to follow, one of which recommends a program called Code::Blocks, which I have downloaded. I've gone over the basics, reading tutorials that cover matters ranging from program structure and simple variables to object-oriented programming with classes. I've made no less than ten fumbling attempts to learn to program in at least a half dozen languages, including an entry level college course, so a great deal of this is simple review for me. Even the more complicated concepts aren't over my head.
However, there seems to be a rather considerable chasm between the end of these tutorials and actual high-end programming. As a programmer friend of mine told me, "No one knows how the wizards made what they did." In order to progress, it seems I must stand on the shoulders of giants.

Day 2:
I'm in hell.
I recall now, in the past this was where I always came to a grinding halt: the point where I learn to use graphics. I've poked about for a few libraries, and found one called Allegro that caught my eye. In particular I like the usage license, which grants me permission to do essentially whatever the hell I want.
But now I'm stuck trying to figure out how to use this library. Mind you, when I say "use" I'm not referring to the point where I pass variables to it and let the fairies take care of the rest. No, I'm having difficulty letting my compiler know that I have a library. I've gone over several dumbed-down step-by-step guides to installing Allegro, and every one of them has brought me to failure.

Day 3:
THIS IS FUCKING BULLSHIT
FUCK WHY IS IT FUCKING HARDER TO INSTALL A GODDAMN LIBRARY THAN IT IS TO ACTUALLY CODE IN C++
WHY IS IT SO MUCH FUCKING HARDER TO INSTALL A FUCKING C++ LIBRARY THAN IT IS TO CAPTURE UNICORNS AND FUCKING TRAIN THEM TO PLAY TABLE TENNIS?
PISSING SHIT INSTALLING A LIBRARY IS FUCKING IMPOSSIBLE FUCK FUCK FUCK FUCK FUCK

Day 4:
Allegro is working. I have no idea how or why. Nothing I tried on my own could make it happen; I had to enlist the help of an autistic guy who walked me through it.
At least, he claimed he was autistic. I know that Asperger's is technically a high-functioning form of autism, but it's also a pretty common misdiagnosis.
In any event, he told me a few secret magical words, and now I'm relying on dodgy autistic wizardry to support my graphics library. It makes me a bit nervous.
I've gone over some Allegro tutorials, and they seem simple enough. I've added graphics, animation, keyboard input and timers to my domain. The next matter is collision detection. Apparently, Allegro doesn't handle this on its own, and it's a rather complicated problem. I'm not fully satisfied with bounding boxes, but pixel-perfect detection tends to be pretty involved. At my current level of experience, I doubt I could write anything on my own that would be very efficient.
A friend has given me a lead, though: I set of libraries that handle both bounding box and pixel-perfect collision detection. Now it's simply a matter of installing them.

Day 5:
HDAAAGGGGGGGGGGGGGGGGGGGXZKBN,CJNXOGHCVT79OCGB KV<slo7GTGISDISCB KMDFC B.KJXU7
© 2011 - 2024 Okk
Comments13
Join the community to add your comment. Already a deviant? Log In
shrt's avatar
Try making a text-based game first, and working your way up? I had a lot of fun making a text adventure RPG during my winter break.