Dec
21

When it comes to people asking me about making windows in C++, I usually just say “It’s about 300 lines of stuff you wouldn’t understand.” Truth is, I hate writing the windows code. So here’s what I did to get around it :) Read More »

Posted by Jordan
Dec
15

One of the biggest challenges for a game programmer is understanding how to represent position and movement in 2D and 3D space. In this tutorial I will teach you the basics of understanding vectors in 2D and 3D space.

Vectors

For the most part, we use vectors. In math and physics, vectors are usually represented by a direction (angle) and a magnitude (length).
See the diagram below (imagine the hypotenuse as an arrow):

Triangle

Theta (displayed as θ) is your angle in either degrees or radians (I will always talk about angles in degrees). The hypotenuse is the longest side of the triangle (your length or magnitude). The adjacent side is the side that touches the angle you’re working with, the opposite side is the side across from the angle. The adjacent and opposite sides are often your X and Y components, respectively.

Read More »

Posted by Jordan
Dec
7

I’m still here, just been busy with life.

I’ve mostly been busy programming with OpenGL. I’m hoping to write a few simple tutorials using GLUT to get rid of the nasty Windows code. I’ll also be posting a DevIL image loading tutorial, because there are so painfully few on the internet. Basically, anything I struggle with finding information on, I will post a tutorial for when I get it figured out.

Planned so far:

  • Making an OpenGL window with GLUT (Windows)
  • Drawing primitives
  • Changing view and using a ‘camera’
  • Light
  • Materials
  • Loading textures with DevIL and displaying with OpenGL
  • Mixing materials and texturing
  • Putting it all together (Light, materials and textures)

Some extra tutorials

  • Tips and tricks (skyboxes, skydomes, skyspheres)
  • Collisions and 3D Vector math (probably split in two tutorials)
  • Screenshots with OpenGL and DevIL

That’s quite a bit of code to write, so it’ll take me a while. I’ll likely end up writing some over the Christmas break, and during work (working at the IT lab at Humber is boring, but it gives me lots of time to code!).

Anyway, heres a couple screenies of my program!

Posted by Jordan
Jun
10

Please only post comments in English. If you don’t speak English… well.. I guess you wont be able to read this anyway but whatever. If you don’t speak English, or just post in another language, I will delete your comment.

I’ll try to make something new soon… I’ve had an idea for a new game for a while, I might start working on it while I’ve got time off from work.

Posted by Jordan
Jun
6

I made this for twloha.org, a non-profit movement dedicated to presenting hope and finding help for people struggling with depression, addiction, self-injury and suicide.

TWLOHA

Please go check out their website at twloha.org and buy some merch!

May
29

I was bored and decided I needed to make a Fightstar signature.

So here it is, named after their new album, ‘Be Human’;

Version 1
Be Human (Version 1)

Version 2
Be Human (Version 2)

Posted by Jordan
May
29

And I’m looking for a new place to waste my time… anyone know any good graphics communities? All my old ones are dead or just suck now (*thumbs down*). :(

Comment if you got any!

Posted by Jordan
May
28

Made a new signature today. Inspired by my old tag called ‘In Time’ and made for a friend.

Here it is, ‘In Silence’;

In Silence

You’re welcome Ade :)

Posted by Jordan
May
28

I just finished editing the comment template, so feel free to leave some comments for me :)

Also, the about me page is finished. Check it out!! :D

Adiós

Posted by Jordan
May
27

Well, the semester is over.. and that means boredom over summer. And work.. at a crappy summer job. Thumbs up for crappy jobs!

At least I passed..

Posted by Jordan