KCC-Prototype

A minimal environment for prototyping KCCs with procedural and customizable 'level' elements.

Input Bindings

General (DefaultContext)

  • Toggle View Perspective: C or gamepad D-Pad Down
  • Toggle Fly Camera: F or gamepad D-Pad Up
  • Move: WASD or gamepad left stick
  • Look: Mouse movement or gamepad right stick
  • Jump: Space or gamepad East
  • Capture Cursor: Left mouse button
  • Release Cursor: Escape

Fly Camera (FlyCameraContext)

  • Fly Up: E or gamepad East
  • Fly Down: Q or gamepad Left Thumb

Orbit Camera (OrbitCameraContext)

  • Zoom: Mouse wheel

Notes

  • 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
];
demo_x2JyoaMn.mp4