User Tools

Site Tools


en:guides:beginners:tour_of_a_project

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:guides:beginners:tour_of_a_project [2018/06/20 09:57 (7 years ago)] – external edit 127.0.0.1en:guides:beginners:tour_of_a_project [2025/08/20 09:26 (3 weeks ago)] (current) – I missed some more "tour" of the project, in particular regarding the data directory lattay
Line 1: Line 1:
 ====== Part 4 – A tour of an Orx project ====== ====== Part 4 – A tour of an Orx project ======
  
-Let’s take a close look at all the parts of an Orx project and see how it all fits together, from the code to the building, the executing and the configuration files.+Let’s take a close look at all the parts of an Orx project and see how it all fits together, from the code to the building, the executingand the configuration files.
  
 ===== Source ===== ===== Source =====
  
-The source of your program is located in the src/ folder.+The source code of your program is located in the src/ folder. A default C or C++ file is generated for you at initialization in this directory.
  
 ===== Executable ===== ===== Executable =====
  
-The resulting executable is built and sent to the bin/ folder. If your project was called MyGame, the resulting executable would be MyGame.exe in Windows or MyGame on Linux or Mac.+The resulting executable is built and sent to the bin/ folder. If your project was called MyGame, the resulting executable would be MyGame.exe in Windows or MyGame on Linux or Mac. Debug builds get a "d" prefix, like MyGamed.exe.ls
  
-===== Config File =====+===== Data =====
  
-When the executable is run, it looks for a matching *.ini file. If your executable was called MyGame.exe, it would load and process the MyGame.ini file. If your executable was called Project.exe, it would load and process the Project.ini file.+The data/ directory contains the non-code files. The subdirectories in data are essential to Orx, in particular the config directory. 
 + 
 +==== Config Files ==== 
 + 
 +When the executable is run, it looks for a matching *.ini file in data/config. If your executable was called MyGame.exe, it would load and process the MyGame.ini file. If your executable was called Project.exe, it would load and process the Project.ini file
 + 
 +This file defines many aspects of your game and can refer to other data, including other config files.
  
 Now that you know all that, it is time to start working on our game. Now that you know all that, it is time to start working on our game.
en/guides/beginners/tour_of_a_project.txt · Last modified: 2025/08/20 09:26 (3 weeks ago) by lattay