You can easily generate an orx/Scroll project using init
from the github version of Orx.
This article assumes that you have downloaded the latest version of Orx from github and have built Orx.
There are two ways to create an orx/Scroll project. Firstly, using Interactive Mode:
init
Then follow all the prompts and choose yes
(press enter to accept the default) when asked if you want to include Scroll:
[Extension] scroll: C++ convenience layer with config-object binding? (yes)
The second way is to specify on the commandline as simply the following which will include Scroll by default:
init ../myGameFolder/MyGameName
Please note that on Linux & MacOS, one will need to invoke ./init.sh instead of simply init
Load your new orx/Scroll project using your favourite IDE. You'll find your build in the build
folder.
Now you can begin working with your orx/Scroll project. The following tutorials will help get you up and going if you haven't used Scroll yet:
The default orx/Scroll project comes with some demo code and one demo Object to play around with.
The generated orx/Scroll project is set to bootstrap the default config file. You can read more about this process here: bootstrapping the location of your first config file.
You can read more about init
and the other types of projects that can be auto-created with it at: Creating your own Orx-based Project using 'init'