Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:orx:config:settings_main:main [2023/08/22 23:48 (20 months ago)] – [Summary] sausage | en:orx:config:settings_main:main [2023/09/19 23:48 (19 months ago)] (current) – sausage |
---|
| |
<code ini> | <code ini> |
[Clock] | [ClockTemplate] |
AllowSleep = <bool> | |
Frequency = <float> | Frequency = <float> |
ModifierList = <fixed | multiply | maxed | average> | ModifierList = <fixed | multiply | maxed | average> |
| |
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 ===== |
* ''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.// |