My goal was to create the curves above. I knew if I could draw it then I could move a box or game object along that path. It took me about two weeks of casual time and many math questions posted to yahoo answers.
The problem is, implementing a math formula in C++. […]
Archive for the 'C/C++' Category
Following an interview question that was extremely hard I went to `man lstat’ and tried to code up a test just based on system documentation. It was not entirely successful, however after a tip-off from an online resource I came up with this.
I’m very, very early on in the effort of this graphics/game test. But essentially I wanted to write down where I’m at with Xcode, OpenGL and learning C++.
Learning C++ by starting with OpenGL is very stupid. I admit this. It’s the wrong way to start out. It’s like learning how to […]
Going through the Oreilly book Practical C++ Programming, which may be an arguable title, and I’m just trying to go through all of the examples and save them somewhere so I know where I left off the next time I’m feeling recklessly productive.
Specifically, Chapter 4 asks
Exercise 4-2: Write a program to print a block E […]
Distcc is a distributed C/C++ compiler. You can easily use a bunch of machines’ power to compile stuff. The setup isn’t bad at all. It’s just a non-root network service.
Gentoo.org has some nice instructions on setting up distcc for builds. Here, we have 2x Pentium 3 machines and 1x dual xeon […]
I finally got the FTGL library built. It was quite annoying to do. In the end, I had a libfreetype.a file (looks like an assembly binary) and a libftgl.a file. I added those to the XCode project. Then I double clicked on the target icon to pull up a properties pane […]
A few ideas detailing a first bold attempt at game programming.
Of note, the game will try to be of a Final Fantasy 1 feel while having attributes and statistics similar to Final Fantasy 7 and 11. Features and goals include:
- Some sort of world map
- Possibly a shader to make the world look like […]