-
Notifications
You must be signed in to change notification settings - Fork 0
Game Manager
The Game Manager handles much of the functionality related to the Play State. This includes making sure the player is spawned correctly on start, applying settings and presets, pausing the play scene, and resetting the scene.
This manager also consists of the edit button, the reset button, and every object that has been placed in the edit scene, including the player controller.
List of connecting/parent/subsystems.
Connecting Systems:
Subsystem(s):
List of related controls.
Any controls would be related to the player, which are under the Player Controller wiki page.
List of known bugs. Be descriptive but keep it brief!
- None Currently
List of features and descriptions within system.
Edit Button: Brings the user back to the edit state and scene, setting everything back as it was. Reset Button: Resets the scene, putting the player, enemies, and anything else back to where it was. Player: The player itself, which the user can control. The movement properties are also applied during this state. Enemies: Enemies exist in this state and scene, and begin to execute their functionality on ready.
Name the most important variables, their type, and what their purpose is
-
enum playState { PLAY, PAUSE }= The current state of the play scene, which can be paused by the user. -
var player : CharacterBody2D= A direct reference to the player, which is retrieved on scene start.
Name of the most important functions, their parameters, and what they do.
-
func start() -> void: As of 6/10, simply gets the player and sets their movement preset. It also sets the process modes of the player and enemies to inherit that of its parent (the GameManager). -
func pause() -> void: When the pause key is pressed, the scene's pause state swaps. -
func reset() -> void: Reloads the level scene, restarting it completely.
List and description of upcoming work/risks.
Future Work:
- Using FPS to make animations
- Adding a true pause
Risks:
- No risks at the moment.
A place for miscellaneous notes pertaining to this system.
- None.
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