User Tools

Site Tools


en:tutorials:creating_your_own_scroll_project_using_init

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:tutorials:creating_your_own_scroll_project_using_init [2018/02/14 04:46 (2 years ago)]
iarwain ↷ Links adapted because of a move operation
en:tutorials:creating_your_own_scroll_project_using_init [2020/03/28 18:01 (10 days ago)] (current)
sausage Changes with the new version of init
Line 1: Line 1:
 ====== Creating your own orx/Scroll project using '​init'​ ====== ====== Creating your own orx/Scroll project using '​init'​ ======
  
-You can easily generate an orx/Scroll project using ''​init''​ from the github version of Orx, and then adding the Scroll library files.+You can easily generate an orx/Scroll project using ''​init''​ from the github version of Orx.
  
 This article assumes that you have [[en:​tutorials:​cloning_orx_from_github|downloaded the latest version of Orx from github]] and have built Orx. This article assumes that you have [[en:​tutorials:​cloning_orx_from_github|downloaded the latest version of Orx from github]] and have built Orx.
  
-<WRAP center round box 60%> 
-Please note that soon, the init script will allow the creation of a Scroll project without the manual steps outlined here. This tutorial is considered temporary. 
-</​WRAP>​ 
  
 ===== How to Create your own orx/Scroll project ===== ===== How to Create your own orx/Scroll project =====
  
-  - Init a standard Orx project using [[en:​tutorials:​creating_your_own_project|this guide]]. +There are two ways to create an orx/Scroll ​project. ​Firstly, using Interactive Mode:
-  - Git clone the Scroll layer from here: [[https://​github.com/​orx/scroll]] +
-  - Copy the ''​include''​ folder into the root of your newly created Orx project.+
  
-A note on the include folder: your Orx project created using 'init' does not have an ''​include''​ folder. This is because Orx projects created with this tool uses the ''​include''​ folder via the $ORX environment variable. When you copy in the ''​include''​ folder from the Scroll layer, it will be newly created with only a ''​Scroll''​ subfolder contained inside.+  ​init 
  
-  ​- Load your new orx/Scroll project using your favourite IDE. You'll find your build in the ''​build''​ folder+Then follow all the prompts and choose ''​yes''​ when asked if you want to include scroll: 
-  - Edit all three configurations (Debug, Profile & Release) and change the list of ''​Includes Directories''​ by adding ''​..\..\..\include\Scroll;''​ to the list.+ 
 +  [Extension] scroll: C++ convenience layer with config-object binding? (no) 
 +   
 +The second way is to specify everything on the commandline:​ 
 + 
 +  init myGameFolder/​MyGame +scroll 
 + 
 + 
 +===== Working with your project ===== 
 + 
 +Load your new orx/Scroll project using your favourite IDE. You'll find your build in the ''​build''​ folder.
  
  
Line 28: Line 33:
   * [[en:​tutorials:​community:​sergeig:​scroll0|Empty Scroll Project]]   * [[en:​tutorials:​community:​sergeig:​scroll0|Empty Scroll Project]]
  
-===== Configuration files and Bootstrapping ===== +The default orx/Scroll project comes with some demo code and one demo Object to play around with. 
-As the base of this is a converted Orx project, you might need to do some work arranging your config ​filesTo make things easier, you might want to consider ​[[en:​tutorials:​changing_default_config_file_for_scroll|bootstrapping the location of your first config file]].+ 
 +===== Bootstrapping ===== 
 +The generated orx/​Scroll ​project ​is set to bootstrap the default ​config ​fileYou can read more about this process here: [[en:​tutorials:​changing_default_config_file_for_scroll|bootstrapping the location of your first config file]].
en/tutorials/creating_your_own_scroll_project_using_init.1518583595.txt.gz · Last modified: 2018/02/14 08:46 (2 years ago) (external edit)