Computer Science Canada

Trigonometry Wars - ICS4U Final Project [Source Code]

Author:  TFish [ Thu Jun 16, 2011 8:54 am ]
Post subject:  Trigonometry Wars - ICS4U Final Project [Source Code]

This is my ICS4U final project. It is a Geometry Wars clone; original, I know. There are a few glitches, but nothing that affects game play. Any input would be appreciated

The source code is included

Author:  crossley7 [ Sat Jun 18, 2011 4:25 pm ]
Post subject:  RE:Trigonometry Wars - ICS4U Final Project [Source Code]

It is pretty good, but for the instructions I had to change font size to 15 from 30 so that I could read it. It was overlapping text when I first started it. But otherwise really well done

Author:  Zren [ Sat Jun 18, 2011 6:53 pm ]
Post subject:  RE:Trigonometry Wars - ICS4U Final Project [Source Code]

Does the game pick up (get harder) as time goes on?

Turing:

type enemyRecord :
    record
        x, y : array 1 .. numEnemy of real                                  % enemy's x/y
        speed : real                                                        % enemy's speed
        degree : array 1 .. numEnemy of real                                % enemies angle
    end record


That's sort of backwards dude. Still works, but instead of having 3 different arrays (albeit inside a single data structure, have one array of an Enemy type. Eg:

Turing:

type Enemy :
    record
        x, y, speed, degree : real
    end record
var enemies : array 1 .. numEnemy of Enemy


If/when you get on to learning about resizing the array to have variable amounts of enemies, it's far easier to resize only one array. Knowledge for your next project.

Author:  crossley7 [ Sat Jun 18, 2011 7:31 pm ]
Post subject:  RE:Trigonometry Wars - ICS4U Final Project [Source Code]

It definitely gets harder as the game moves on. I'm not great at games so didn't get very far (I also only tried once) but it gets noticeably more difficult from the start to a minute in for example


: