User Tools

Site Tools


en:orx:config:settings_main:main

Differences

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

Link to this comparison view

en:orx:config:settings_main:main [2023/08/23 06:44 (2 years ago)] – [Details] sausageen:orx:config:settings_main:main [2025/09/30 17:26 (12 days ago)] (current) – external edit 127.0.0.1
Line 47: Line 47:
 ==== Summary ==== ==== Summary ====
  
-<code ini>[Clock+<code ini> 
-MainClockFrequency = <float></code>+[ClockTemplate
 +Frequency    = <float> 
 +ModifierList = <fixed | multiply | maxed | average> 
 +</code>
  
 ==== Details ==== ==== Details ====
  
 Only one section (''Clock'') is defined for this module. Here's a list of its available properties: Only one section (''Clock'') is defined for this module. Here's a list of its available properties:
-  * ''MainClockFrequency'': This property allows to give a frequency for the main (aka ''Core'') clock update. If no value is provided, the main clock will be updated as often as possible. Best results are achieved by not setting any value for this property and by enabling [[en:orx:config:settings_main:main#Display module|vertical synchronization]]. 
  
 +  * ''Frequency'': Use 'display' to sync the clock with the display refresh rate. Use 0 to run the clock as fast as possible. Defaults to 'display'.
 +  * ''ModifierList'': Core clock property. Each entry is a modifier followed by its value. A value of 0 will disable that modifier. Maxed: value will be used as a max DT, fixed: -1 will match exactly the frequency, average: value is the number of past updates to use for average. Defaults to: fixed -1.
  
 ===== Display module ===== ===== Display module =====
Line 385: Line 389:
   * ''BaseName'': Base name used for your screenshot. Its default value is "screenshot-".   * ''BaseName'': Base name used for your screenshot. Its default value is "screenshot-".
   * ''Digits'': Number of digits used at the end of screenshot files. Its default value is 4.   * ''Digits'': Number of digits used at the end of screenshot files. Its default value is 4.
-  * ''Directory'': Directory where to store screenshots. By default, screenshots will be stored in the current active directory. +  * ''Directory'': If not specified, screenshots will be stored in the Documents directory on iOS or in the current active directory otherwise
-  * ''Extension'': Extension used for screenshot files. This also defines the type of encoding for the file. Available values ((when used with orx's default display plugin based on GLFW)) on Win/Linux/OS X are tga (default), png, bmp & dds. On iOS only png (default) & jpg are supported.+  * ''Extension'': Extension used for screenshot files. This also defines the type of encoding for the file. Defaults to png on iOS/Android and to tga otherwise; Available extensions are: png, qoi, jpg, bmp & tga.
  
 //NB: If using all default settings, screenshots will be stored in the current active directory ((usually the executable's one)) and named ''screenshot-0001.tga'', ''screenshot-0002.tga'' and so on.// //NB: If using all default settings, screenshots will be stored in the current active directory ((usually the executable's one)) and named ''screenshot-0001.tga'', ''screenshot-0002.tga'' and so on.//
Line 395: Line 399:
 ==== Summary ==== ==== Summary ====
  
-<code ini>[SoundSystem] +<code ini> 
-DimensionRatio = <float> +[SoundSystem] 
-StreamBufferNumber = <int> +DimensionRatio   = <float> 
-StreamBufferSize = <int></code>+Listeners        = <int> 
 +MuteInBackground = <bool> 
 +</code>
  
 ==== Details ==== ==== Details ====
  
 Only one section (''SoundSystem'') is defined for this module. Here's a list of its available properties: Only one section (''SoundSystem'') is defined for this module. Here's a list of its available properties:
-  * ''DimensionRatio'': Defines the ratio between orx's world (sizes are expressed in pixels) and the sound simulation world (sizes are expressed in meters). Its default value is 0.01 which means 1 pixel is represented by 0.01 meters. ((in other words, 100 pixels = 1 meters)) + 
-  * ''StreamBufferNumber'': Number of buffers to use for sound streamingNeeds to be at least 2, defaults to 4+  * ''DimensionRatio'': Defines the ratio between orx's world (sizes are expressed in pixels) and the sound simulation world (sizes are expressed in meters). Defaults to 0.01, ie. 0.01 m/px, which means 1 pixel is represented by 0.01 meters. ((in other words, 100 pixels = 1 meters)) 
-  * ''StreamBufferSize'': Size of buffers to use for sound streamingNeeds to be a multiple of 4, defaults to 4096.+  * ''Listeners'': How many listeners will be used (maximum of 4), 0 for no sound spatialization at allDefaults to 0
 +  * ''MuteInBackground'': If true, sound will be muted/un-muted when the game enters/leaves backgroundDefaults to true.
  
  
 ==== Latest config settings for the Development Version ==== ==== Latest config settings for the Development Version ====
 {{section>en:orx:config:developmentversion#&noheader&nofooter&noeditbutton}} {{section>en:orx:config:developmentversion#&noheader&nofooter&noeditbutton}}
en/orx/config/settings_main/main.1692773040.txt.gz · Last modified: 2025/09/30 17:26 (12 days ago) (external edit)