Game Cookies

October 8, 2007

OpenGL and FreeBSD

Filed under: code, development, rant — nippysaurus @ 4:27 pm

I have always wanted to do everything cross platform but when you dont know what youre doing and dont have much time it tends to be the last thing on your mind. So a few weeks ago I wrote a simple windows application (using OpenGL) to easily display points in 3D space instead of having to draw it on paper (doing vector maths at university at the moment). I also happen to have just set up a computer with FreeBSD (and GNOME). (more…)

September 28, 2007

Vectors

Filed under: development, math, study — nippysaurus @ 4:00 pm

When objects are represented on a computer screen they are stored in memory as a whole lot of points which are joined up and manipulated (mathematically) such that they make pretty pictures. Each point in this imaginary space is called a point, and a line joining two points is called a vector. As you can imagine, to represent a point in two dimensional space you will need two values which represent its location (or coordinate) on a cartesian plane. Vectors are normally dealt with as originating at the origin and ending at a given point.

This is an example of a point.

a=(1,2,2)

And a vector from the origin to that point.

\overline{oa}=(1,2,2)

The length of the vector from its origin to end point is called the magnitude. This is the formula to calculate a vectors magnitude.

|oa|=\sqrt{({a_{x}}^2+{a_{y}}^2+{a_{z}}^2)}

For comprehensive explanation on vectors check out the wikipedia entry.

September 10, 2007

Learn Maths

Filed under: development, math, study — nippysaurus @ 1:58 pm

If you ever intend creating your own game (using those simple game creator applications don’t count) you will most definitely need a strong knowledge of algebra! I am currently taking a maths subject at university and am finding it rather difficult. I have found the site Purplemath which has loads of really good algebra tutorials. You can also pay them to tutor you, but the free material is really quite good.

Here are a few more maths algebra resources to consider:

Also I found the following page helps me keep an overview of everything I have covered thus far.

September 5, 2007

XNA Game Studio Express

Filed under: development, games, xna — nippysaurus @ 12:48 pm

For those interested, I had previously started a blog with the intention of posting tutorials using XNA Game Studio Express. I did not continue with that series for a few reasons, but for anyone interested it can still be found at this address. In its current state of completeness it will be most beneficial to beginners who have never used XNA before. As always, some programming knowledge is required.

Create a free website or blog at WordPress.com.