-
Notifications
You must be signed in to change notification settings - Fork 0
Player Controller
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). There are also four different movement presets available for the player, allowing users to easily set their movement type.
List of connecting/parent/subsystems.
Connecting Systems:
- [Game Manager]{ADD LINK}
- Camera Manager
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
- S: Drop down through One-Way tiles
- P: Pause / Unpause game
List of known bugs. Be descriptive but keep it brief!
- None Currently
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
- All tiles except death tiles can only be interacted with by landing on top of them
- When falling or walking out of bounds, the player is force killed.
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
- Four different presets for easily setting between movement presets for the player.
List and description of upcoming work/risks.
Future Work:
- Death Logic
- Using FPS to make animations
- Changing hitbox to a rectangle.
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.
A place for miscellaneous notes pertaining to this system.
- No
- Notes
Resources
Known Issues
Future Work
Globals
Managers
- Main Menu Manager
- Master Manager
- Camera Manager
- Hotkey Manager
- Import Export Manager
- Audio Manager
- Animation Manager
- PopUp Manager
UI
Managers
- Editor Manager
- Tile Manager
- Entity Manager
- Icon Manager
- Preview Manager
- Tool Manager
- Asset Manager
- Custom Cursor Manager
Tiles & Entities
- Grid Lines
- Preview Line
- Tiles & Entities
- Enemies
- Patrolling Enemy
- Flying Enemy
- Shooting Enemy
- Stationary Enemy
- Moving Platform
- Property Editing
Asset Swapping
UI
Managers
Player