In order to streamline agent execution and trigger advanced execution parameters participants must use a specific command line argument order when running the main executable of the Geometry Friends game. The overall command line argument syntax is the following:
A first set of triggers control how the game runs and the overall logging behavior:
These arguments will point towards the specific level the participant wants to run and works in the following fashion.
The world number is attributed to each XML file found in the Levels folder of the Geometry Friends' game
in alphabetical order. The count starts at 0 (unlike the Level Number), so by using the default number
of worlds that comes with the Geometry Friends framework, the Circle World corresponds to the number 0,
while the Cooperative world corresponds to the number 1 and the Rectangle world to the number 2.
Note: By adding more worlds to the game these numbers will change, so keep track of the files within the folder
as they are ordered alphabetically. Meaning that a world named Adventure for example will be the new 0, while
the Circle world will shift to number 1.
The level number points towards the specific level within a world, so for example if a participant wanted the
first level of the circle world the arguments would be 0 1.
Note: Unlike the world number argument levels start at 1 and not 0.
Some typical running options examples:
In the Step by Step Installation Guide we showed the normal start from Visual Studio where participants would always have
to go through the game menus to try a specific level. In this section and using the command line arguments described above
we show how to quick start GeometryFriends from within Visual Studio.
By right clicking and selecting the Properties option of the GeometryFriends project (in the solution explorer),
participants will just need to alter the Arguments space with the defined order described above.