mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-24 21:55:09 +00:00
- Added SetGravity method to adjust the gravity in the physics world. - Introduced AddSphereRigidBody method for creating sphere rigid bodies. - Implemented RemoveRigidBody method to delete existing rigid bodies. - Added SetRigidBodyTransform method to update the position and rotation of rigid bodies. - Included ApplyForce and ApplyImpulse methods for applying forces and impulses to rigid bodies. - Added SetLinearVelocity method to set the linear velocity of rigid bodies. - Enhanced StepSimulation method to accept a maxSubSteps parameter. - Implemented GetBodyCount method to retrieve the number of rigid bodies in the world. - Added Clear method to remove all rigid bodies from the physics world. - Updated the script engine service to bind new physics methods to Lua. - Enhanced material configuration handling in shader script service. - Introduced MaterialXMaterialConfig structure for better material management. - Added texture binding support in ShaderPaths structure. - Included stb_image implementation for image loading support.
72 lines
1.9 KiB
JSON
72 lines
1.9 KiB
JSON
{
|
|
"launcher": {
|
|
"name": "GUI Demo",
|
|
"description": "Interactive GUI demonstration with (Not-a-ImGui, it should be LUA DIY) widgets and controls",
|
|
"enabled": true
|
|
},
|
|
"window_width": 1024,
|
|
"window_height": 768,
|
|
"lua_script": "scripts/gui_demo.lua",
|
|
"scripts_directory": "scripts",
|
|
"project_root": "../",
|
|
"shaders_directory": "shaders",
|
|
"bgfx": {
|
|
"renderer": "vulkan"
|
|
},
|
|
"mouse_grab": {
|
|
"enabled": true,
|
|
"grab_on_click": false,
|
|
"release_on_escape": true,
|
|
"start_grabbed": false,
|
|
"hide_cursor": true,
|
|
"relative_mode": true,
|
|
"grab_mouse_button": "left",
|
|
"release_key": "escape"
|
|
},
|
|
"input_bindings": {
|
|
"move_forward": "W",
|
|
"move_back": "S",
|
|
"move_left": "A",
|
|
"move_right": "D",
|
|
"fly_up": "Q",
|
|
"fly_down": "Z",
|
|
"jump": "Space",
|
|
"noclip_toggle": "N",
|
|
"fps_toggle": "F1",
|
|
"music_toggle": "M",
|
|
"music_toggle_gamepad": "start",
|
|
"gamepad_move_x_axis": "leftx",
|
|
"gamepad_move_y_axis": "lefty",
|
|
"gamepad_look_x_axis": "rightx",
|
|
"gamepad_look_y_axis": "righty",
|
|
"gamepad_dpad_up": "dpup",
|
|
"gamepad_dpad_down": "dpdown",
|
|
"gamepad_dpad_left": "dpleft",
|
|
"gamepad_dpad_right": "dpright",
|
|
"gamepad_button_actions": {
|
|
"a": "gamepad_a",
|
|
"b": "gamepad_b",
|
|
"x": "gamepad_x",
|
|
"y": "gamepad_y",
|
|
"leftshoulder": "gamepad_lb",
|
|
"rightshoulder": "gamepad_rb",
|
|
"leftstick": "gamepad_ls",
|
|
"rightstick": "gamepad_rs",
|
|
"back": "gamepad_back",
|
|
"start": "gamepad_start"
|
|
},
|
|
"gamepad_axis_actions": {
|
|
"lefttrigger": "gamepad_lt",
|
|
"righttrigger": "gamepad_rt"
|
|
},
|
|
"gamepad_axis_action_threshold": 0.5
|
|
},
|
|
"gui_font": {
|
|
"use_freetype": true,
|
|
"font_path": "scripts/assets/fonts/Roboto-Regular.ttf",
|
|
"font_size": 18.0
|
|
},
|
|
"gui_opacity": 1.0,
|
|
"config_file": "config/gui_runtime.json"
|
|
}
|