COMP521 - Modern Computer Games

Winter 2008

(Course website)

Preamble

Your friendly neighbourhood TA here. If you haven't noticed, this page is pretty much in a constant state of flux. Generally speaking though, I'll try to make sure everything you see/hear on this page is true -- if not always complete.

Given this state of affairs, it may some day happen that you can't find what you're looking for here -- or that what you do find doesn't make much sense. On such occasions, feel free to send off a quick email to...

Nicholas.Rudzicz <AT> mail.mcgill.ca

Sadly, 70% of my waking hours are spent jacked in to the "Internets," so I'll probably get your email right away.

Go forth, young hobbits...

UPDATE: I've uploaded my own class notes from when I took the course. They can be found here. I MAKE NO CLAIMS AS TO THEIR ACCURACY; however, they can hopefully help you get a better grasp or a new perspective on a given problem.

UPDATE #2: I've uploaded the class presentation I gave regarding procedural content generation in video games. (Link)

UPDATE #3: (if anyone still visits this site) I enjoyed TA'ing the course, and I hope you each took something away from it as well. I'm not sure if TA assessments have been disabled/delayed because of the TA strike (or if anyone bothers filling them out), but if there are any lingering issues, complaints, questions, or anything else, I can be reached at my McGill email, above, or otherwise at nrudzicz <AT> hotmail. It was a pleasure, and I hope to see you kids around campus.


Assignment 1

(Assignment handout)

[P]NFG

You'll all need copies of NFG (176K) and PNFG (923K). Download these to a directory of your choice.

To compile a PNFG program -- say, foo.pnfg -- run the following command (from the same directory where you have downloaded the above .jar files):

% java -cp pnfg.jar pnfg.Main -nfg foo.pnfg > foo.nfg


This will compile your PNFG program into NFG format (note especially the '-nfg' flag and the redirection '> foo.nfg'). To actually run the resulting NFG game file, foo.nfg, enter the following in the same directory:

% java -cp nfg.jar nfg.Main foo.nfg

Troubleshooting

Example(s)

I've uploaded an example .pnfg file here. More may follow.

Inform 6

The version of Inform we will use is Inform 6.30. To properly install and use it to compile our game files (*.inf), we must go through a few steps first.

Troubleshooting


Assignment 2

(Assignment handout)

Bounding areas


Perlin Noise

Troubleshooting


Assignment 3

(Assignment handout)

GBA Emulator


Assignment 4

(Assignment handout)

Client/Servers