Your browser does not support the canvas tag.

Week 13

Computer terms we havn't talked about

I want to be a game designer
Departments in a big game workflow. There are two ways to get the Game Designer job. 1. work your way up through one of the other departments. 2. make your own game. 3. combination of 1 and 2. It's a lot like the movie industry.
Each of these departments has a team of people working under them. The easiest job to get is probably in Quality Assurance. (This job sucks.)
Making your own game means you will probably wear a few of these hats, if not all.
Working on a game is high pressure. You are constantly compromising. It's a messy business. Even being an indi developer can drive you in same (Notch). I reccomend watching "Indie Game: The Movie".


import random

# Generate a random integer in the range 10 to 49.
i = random.randrange(10,50)
print 'Your number is', i

# Carefully analyze the number for important properties.
if i < 20:
    print "That is less than 20."
    if i % 3 == 0:
        print "It is divisible by 3."
elif i == 20:
    print "That is exactly twenty.  How nice for you."
    if i % 2 == 1:
        print "That is an odd number."
        print "That is twice", i / 2, '.'
    print "Wow! That's more than 20!"

private Material[] voxelMaterials;

public void Initialize (int resolution, float size) {
	this.resolution = resolution;
	voxelSize = size / resolution;
	voxels = new bool[resolution * resolution];
	voxelMaterials = new Material[voxels.Length];

	for (int i = 0, y = 0; y < resolution; y++) {
		for (int x = 0; x < resolution; x++, i++) {
			CreateVoxel(i, x, y);

private void CreateVoxel (int i, int x, int y) {
	GameObject o = Instantiate(voxelPrefab) as GameObject;
	o.transform.parent = transform;
	o.transform.localPosition = new Vector3((x + 0.5f) * voxelSize, (y + 0.5f) * voxelSize);
	o.transform.localScale = * voxelSize * 0.9f;
	voxelMaterials[i] = o.GetComponent().material;

10 z=15
11 f=2
12 d=17
22 DECAY d
100 a=INKEY
120 IF a="q" THEN PLUCK 60
130 IF a="2" THEN PLUCK 61
140 IF a="w" THEN PLUCK 62
150 IF a="3" THEN PLUCK 63
160 IF a="e" THEN PLUCK 64
170 IF a="r" THEN PLUCK 65
180 IF a="5" THEN PLUCK 66
190 IF a="t" THEN PLUCK 67
200 IF a="6" THEN PLUCK 68
210 IF a="y" THEN PLUCK 69
220 IF a="7" THEN PLUCK 70
230 IF a="u" THEN PLUCK 71
240 IF a="i" THEN PLUCK 72
250 IF a="9" THEN PLUCK 73
300 IF a="a" THEN z=z+1
305 IF a="z" THEN z=z-1
310 IF a="f" THEN f=f+1
320 IF a="v" THEN f=f-1
330 IF a="d" THEN d=d+1
340 IF a="c" THEN d=d-1
520 GOTO 20


Javascript is tricky because to use it on a website you need to also know HTML and CSS, however, once you begin to understand the relationship between the languages, the code itself will start to feel familiar. Copy and paste the example below into "Sublime Text". Save the file as "joeisgood.html" and open it in a browser like firefox, chrome or Safari.