Game Development Reference
In-Depth Information
Building and running in the Windows
simulator
Now it's time for us to see the "Hello World" project in action. It is just a simple
matter of compiling the code in Visual C++ and running it.
To compile the code, simply select Build | Build Solution or press the F7 key.
Visual C++ will compile and link the Main.cpp ile.
Now we can execute the program. Select Debug | Start Debugging or simply
press F5 . The Marmalade Windows Simulator will be launched, which will in
turn load and execute our program. The following image shows what the "Hello
World" project should look like when run in the Windows Simulator:
You will notice that the Windows Simulator contains a number of menu options.
These allow you to make the Windows Simulator run in as close a manner to any
device you choose as possible. The best way to see what you can change is to explore
the menu options yourself, but here are a few of the more useful things you can do:
• Accelerometer: Testing accelerometer inputs on Windows would be
impossible without Configuration | Accelerometer... . This brings up a dialog
box that allows you to use the mouse to rotate a 3D image of a phone, to
simulate the accelerometer input.
 
Search WWH ::




Custom Search