A minimal environment for prototyping KCCs with procedural and customizable 'level' elements.
- Toggle View Perspective:
C
or gamepadD-Pad Down
- Toggle Fly Camera:
F
or gamepadD-Pad Up
- Move:
WASD
or gamepad left stick - Look: Mouse movement or gamepad right stick
- Jump:
Space
or gamepadEast
- Capture Cursor: Left mouse button
- Release Cursor:
Escape
- Fly Up:
E
or gamepadEast
- Fly Down:
Q
or gamepadLeft Thumb
- Zoom: Mouse wheel
- The environment elements are procedural and defined via constants (with PARAMS) in the corresponding plugin files.
Params
define ranges of values, for which all permutations are generated and spawned in the level.level/tracks/ramps.rs
:
const PARAMS: &[(&str, Param)] = &[
(
"length",
Param::Float {
start: 4.0,
end: 8.0,
step: 4.0,
},
),
(
"angle",
Param::Float {
start: 5.0,
end: 80.0,
step: 15.0,
},
), // Angle in degrees
];