First Mechanic First Language

The first mechanic I have chosen to drive my crazy is echolocation. I’m pretty sure I already mentioned that, but it can’t hurt to say it again right?

The first language I have chosen to drive me even more crazy than echolocation is C++. Why am I doing this to myself?

What Does Echolocation Even Look Like?

Ask Batman; I’m sure he could tell you.

Yeah, I know it was a bad joke. Let’s move on. For now, the only thing I have to show for the mechanic is an image, well more like a video, in my head. The video is a bit blurry and likes to buffer on me often, so it’s tough to explain exactly what I have planned.

The gist of the mechanic is that you will have the ability to project sound that will collide with stuff in the environment. The sound might be represented by individual pixels as a sort of particle effect, or I might do something like a circle that grows outward from the origin. That is the blurry part I mentioned.

Once the sound collides with something nearby, let’s say a wall, the pixels of the wall will show a wave effect that moves through the wall and outward from the point of collision. Each pixel will have a brightness so you will see the sound hit the wall and it will start of bright while fading out as the sound moves through the wall. Pretty cool eh?

The words on this page probably aren’t doing it justice, but man am I excited to see what it will actually look like.

Why in Hell Would I Choose C++?

Let’s not get into the debate about which language is better, because that never ends well. It’s just a personal challenge to myself. I want to learn it because it will be difficult and it will teach me some new ways to approach programming.

I have started doing some work in C++ already and it has already taught me a thing or two. I thought I could just dive in, learn the syntax, and hit the ground running. It has actually been pretty slow going so far. Wrapping my head around using header files, writing my own make files, and figuring out the best way to use pointers is taking a bit of time.

As of right now, I only have a few files with a bit of skeleton code in there to test whether my organization is working properly. Using some basic SFML code, referencing files in other folders, and figuring out a simple way to compile my project frequently have been the major foci so far (foci is such a silly word). You know, maybe I should start writing mini tutorials for the little tedious things I’m doing. Maybe someone will find them useful someday?

Anyway, my progress will be up on the blog whenever I come up with something interesting to say. In the meantime, go write some code.