182 lines
3.6 KiB
JSON
182 lines
3.6 KiB
JSON
{
|
|
"engine": {
|
|
"scenes": {
|
|
"start": "StartMenu",
|
|
"lights": { "enabled": false,
|
|
"lightmaps": true,
|
|
"max": 1
|
|
},
|
|
"textures": {
|
|
"max": {
|
|
"2D": 128,
|
|
"cube": 1,
|
|
"3D": 1
|
|
}
|
|
}
|
|
},
|
|
"graph": {
|
|
"initial buffer elements": 128,
|
|
"storage mode": "scene"
|
|
},
|
|
"ext": {
|
|
"opengl": {
|
|
"validation": { "enabled": true },
|
|
"framebuffer": { "size": 1, "msaa": 1 },
|
|
"experimental": {
|
|
"rebuild on tick begin": false
|
|
},
|
|
"pipelines": {
|
|
"culling": false
|
|
},
|
|
"experimental": {
|
|
"rebuild on tick begin": false,
|
|
"batch queue submissions": true,
|
|
"dedicated thread": false,
|
|
"memory budget": false,
|
|
"register render modes": false
|
|
},
|
|
"invariant": {
|
|
"default stage buffers": true,
|
|
"default defer buffer destroy": true,
|
|
"default command buffer immediate": true,
|
|
"multithreaded recording": false
|
|
},
|
|
"formats": {
|
|
"depth": "D32_SFLOAT",
|
|
"color": "R8G8B8A8_UNORM", // "R32G32B32A32_SFLOAT",
|
|
"normal": "R16G16B16A16_SFLOAT",
|
|
"position": "R16G16B16A16_SFLOAT"
|
|
},
|
|
"features": [],
|
|
"extensions": { "instance": [], "device": [] }
|
|
},
|
|
"lua": {
|
|
"enabled": true,
|
|
"main": "/main.lua",
|
|
"modules": {
|
|
"json": "/json.lua"
|
|
}
|
|
},
|
|
"json": {
|
|
"encoding": "msgpack",
|
|
"compression": "gz"
|
|
},
|
|
"imgui": {
|
|
"enabled": false
|
|
}
|
|
},
|
|
"physics": {
|
|
"solvers": {
|
|
"warmup": true,
|
|
"block": true,
|
|
"resolve invalid": true,
|
|
"iterations": 10,
|
|
"gjk": false
|
|
},
|
|
"correction": {
|
|
"ngs": true,
|
|
"percent": 0.2,
|
|
"slop": 0.01, // 0.005
|
|
"max": 0.1 // 0.2
|
|
},
|
|
"debug draw": {
|
|
"static": false,
|
|
"dynamic": false,
|
|
"trigger": false,
|
|
"contacts": false,
|
|
"constraints": false,
|
|
"rays": false,
|
|
"depthTest": true
|
|
},
|
|
"async": false,
|
|
"fixed step": true,
|
|
"substeps": 2,
|
|
"flatten transforms": false
|
|
},
|
|
"audio": {
|
|
"mute": false,
|
|
"async update": false,
|
|
"streams by default": true,
|
|
"buffers": {
|
|
"size": 32768,
|
|
"count": 4
|
|
},
|
|
"volumes": {
|
|
"sfx": 1.0,
|
|
"bgm": 1.0,
|
|
"voice": 1.0
|
|
}
|
|
},
|
|
"memory pool": {
|
|
"enabled": false, // probably should be enabled
|
|
"subPools": false,
|
|
"alignment": 4,
|
|
"override": false,
|
|
"size": "1024 KiB",
|
|
"pools": {
|
|
"entity": "128 KiB",
|
|
"userdata": "128 KiB",
|
|
"component": "128 KiB"
|
|
}
|
|
},
|
|
"render modes": { "gui": true, "deferred": true },
|
|
"limiters": {
|
|
"deltaTime": 5,
|
|
"framerate": 60
|
|
},
|
|
"threads": {
|
|
"workers" : 1,
|
|
"frame limiter": "auto"
|
|
},
|
|
"debug": {
|
|
"framerate": {
|
|
"print": true,
|
|
"every": 2
|
|
},
|
|
"garbage collection": {
|
|
"enabled": true,
|
|
"mode": 1,
|
|
"rate": 4,
|
|
"announce": true
|
|
},
|
|
"entity": {
|
|
"delete children on destroy": false,
|
|
"delete components on destroy": true
|
|
},
|
|
"userdata": {
|
|
"auto destruct": true,
|
|
"auto validate": false
|
|
},
|
|
"loader": {
|
|
"assert": true,
|
|
"async": false
|
|
},
|
|
"hooks": {
|
|
"defer lazy calls": true
|
|
},
|
|
"scene": {
|
|
"print task calls": false
|
|
}
|
|
}
|
|
},
|
|
"window" : {
|
|
"terminal" : {
|
|
"ncurses" : false,
|
|
"visible" : false
|
|
},
|
|
"keyboard" : {
|
|
"repeat" : false
|
|
},
|
|
"mouse" : {
|
|
"visible" : true,
|
|
"center" : false,
|
|
"sensitivity": [ 50, 50 ],
|
|
"smoothing": [ 0.25, 0.25 ]
|
|
},
|
|
"mode" : "windowed", // fullscreen, borderless, windowed
|
|
"icon" : "./data/textures/icon.png",
|
|
"size" : [ 640, 480 ],
|
|
"title" : "Grimgram",
|
|
"visible" : true
|
|
}
|
|
} |