> > |
%META:TOPICINFO{author="ChrisWilson" date="1099389120" format="1.0" version="1.1"}%
%META:TOPICPARENT{name="MiniGolf"}%
We added several testing mechanisms to our prototypes. By prototype 2, our program could read files with lists of coordinates, display those triangles, and test collision detection. We also had a menu system built into the program which allowed the user to specify new velocity vectors, ball locations, etc, as well as reading in new files.
We created 13 different files, each with a different test case. A few of the files tested surface collisions, but most of them tested edge and vertex collisons. We used several combinations of faces, with different ball velocities and collision angles. Additionally, after testing a file with the default start parameters, we often altered the velocity and location of the ball and tested again. We also had 2 files that created cubes -- one was an empty cube, the other was a cube with a smaller shape floating inside it.
We initially used these files for testing prototype 2, and re-used them for prototype 3 (which added bouncing). We also added support for a new file format, which allowed us to model objects in Milkshape and export them directly to a format readable by our program. Using this new format, we created some additional tests to ensure that rolling worked.
Once we added the course, most of the testing was done simply by playing the game. We also had two beta testers, who tried the game and provided some feedback.
The tests we ran are available here:
%META:FILEATTACHMENT{name="tests.zip" attr="h" comment="Test Files Used" date="1099388948" path="tests.zip" size="4249" user="ChrisWilson" version="1.1"}% |