This guide will assume that you are a windows user running Visual Studio 32-bit. You can easily follow along for other environments.
The easiest way to start your own project is to customise an existing one to suit your needs.
For this, you can use the Tutorial solution for Visual Studio 2013 and customise it as an easy starting point. This is available at: orx-tutorial-vs2013-32-1.6.zip.
Start the solution by clicking on the Tutorial.sln file located in the build/windows/vs2013 folder.
Remove all the projects in the Solution Explorer, except for the 01_Object project. We will re-use this one. This will be our single game project.
If want to use c++, rename the source file from 01_Object.c to 01_Object.cpp as c++. This guide will assume you are working in c++.
Remove all the source files from the src/ folder except for our 01_Object.cpp file:
In the same way remove everything in the bin folder except for the 01_Object.ini and the *.dll files. We only need the one ini file for our project.
If you have downloaded the 64 bit tutorial version, you need to ensure your solution is building for 64-bit and not 32-bit. Click the “Build” menu and select “Configuration Manager”. Change the “Active solution platform” dropdown to x64.
Press F6 to build the project and then run it to check that you receive the following window with an object in the centre:
Excellent. We have a working solution. If you don't like the 01_Object project name, continue here to learn how to rename it. Otherwise feel free to continue on as it is.
You can save the current solution as a template for other projects you might like to work on.
Just to make things easier for you, also consider adding Project.ini as an existing file into your project so you can conveniently make changes throughout this guide.
Next: A tour of an Orx project.