Skip to content

Player Controller

Andrew Hernandez edited this page May 27, 2026 · 29 revisions

System Summary

The player control is what enables the player to move and interact with the level they've built in the testing mode.

The player controller is what handles player input in the testing mode as well as how the player interacts with the environment existing in the level, it is what handles the logic when certain tile types are hit and all of the different values that can be modified in the editor pertaining to the player (speed, jump height, etc).


Connected Systems

List of connecting/parent/subsystems.

Connecting Systems:


Related Controls

List of related controls.

Key(s):

  • Space: Jump if on ground, or if there's enough Coyote Time left
  • A: Move Left
  • D: Move Right
  • P: Pause / Unpause game

Bugs

List of known bugs. Be descriptive but keep it brief!

  • None Currently

Feature List / Breakdown of Features

List of features and descriptions within system.

Player Controlling:

  • Player can jump and move around the environment
  • Friction and air control alter how quickly the player can accelerate or decelerate

Player Interaction:

  • Player touches different tile types to interact with them
  • Depending on the type, the player encounters a different effect
  • Tiles can currently only be interacted with by landing on top of them

Modifiable Values:

  • Different stats (movement speed, fall speed, jump height, FPS, coyote time, and air control) are all present
  • Modifying the values changes how the player moves around in the level

Future Work / Risks

List and description of upcoming work/risks.

Future Work:

  1. Death Logic
  2. Using FPS to make animations
  3. Changing hitbox to a rectangle.
  4. Tying modifiable values into the export variables

Risks:

  • Due to how collision detection currently works, the hitbox for the player is still a circle and not a rectangle, currently I am not aware of a fix for collision detection so it doesn't mess up when dealing with a flat hitbox.

Miscellaneous Notes

A place for miscellaneous notes pertaining to this system.

  • No
    • Notes

Clone this wiki locally