cakefoot/src/config_local.json
Cocktail Frank d2802fa131 Prevent lag in replay recording and optimize texture loading
Start the run timer immediately when the load level function is called,
so that if there is lag during level load, it will not cause the replay
recording to desync.

Reduce lag by reducing filesystem access during level load and
gameplay. Load enemy textures once at program start, rather than every
time a new enemy object is created. Only refresh HUD and buttons when
the title screen is loaded, rather than when each level is loaded.
2025-09-19 23:47:06 -04:00

70 lines
1.1 KiB
JSON

{
"display":
{
"dimensions": [1280, 720],
"vsync": false
},
"recording":
{
"enabled": true
},
"log":
{
"stdout enabled": true,
"file enabled": true,
"debug to file": true,
"debug to stdout": true,
"output directory": "local/log",
"gl error": true
},
"keys":
{
"reset": ["CTRL", "r"],
"skip forward": ["CTRL", "SHIFT", "right"],
"skip backward": ["CTRL", "SHIFT", "left"],
"memory": ["CTRL", "SHIFT", "m"],
"coords": ["CTRL", "SHIFT", "c"],
"add credit": "1",
"operator": "2"
},
"operator":
{
"enabled": true
},
"storage":
{
"stats write frequency": 20.0,
"steam stats sync frequency": 120.0
},
"session":
{
"receiver":
{
"frequency": 20.0
}
},
"audio":
{
"test enabled": true
},
"configuration":
{
"auto refresh": true
},
"replay":
{
"min level": 1,
"max files per level": 1,
"replace": "slowest"
}
}