I have analysed the source code on the game for a while now. The only datastructures that are used, are arrays. One array for the bullets and one array for the asteroids. There is 100 asteroids, and you can fire a maximum of 100 bullets. So the main thing to do here (I think), is to swap the bullet array to a linked list or a varLengrhArray.
We also need time for the TAD exercise, so I really hope we can finnish the asteroid optimization tomorrow. Either way, I suggest that we discuss the requirements some tomorrow.
/Marcus
Jan 30, 2008
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment