-
Notifications
You must be signed in to change notification settings - Fork 0
Level Screenshot Camera
Descriptive summary of what the system is and what it does.
The level screenshot camera is an alternative camera within the editor state that's used to take a "screenshot" of the level when saving, and export it as an image file.
List of connecting/parent/subsystems.
Connecting Systems:
Parent Systems:
List of related controls.
Editor Save Button:
- Takes a screenshot of the level while exporting.
List of known bugs. Be descriptive but keep it brief!
- While taking the screenshot, the app will zoom out and hide the UI for a single frame, which can be seen by the user when it happens.
List of features and descriptions within system.
Screenshot Functionality:
- The camera is set up when a new level is created or a level is imported.
- The camera will zoom out to display the entire level, adapting to any world size.
- When clicking the export button, the camera is enabled for one frame, then an image is generated containing what it views, which is the entire level with the UI elements hidden.
Name the most important variables, their type, and what their purpose is
-
masterManager : Node2D= A reference to the master manager (to obtain the level size). -
baseCamera : Camera2D= A reference to the main camera.
Name of the most important functions, their parameters, and what they do.
-
func zoom_out() -> void: Zooms out this camera so it can view the entire level. -
func get_level_screenshot() -> Image: Returns an image file containing what this camera is viewing.
List and description of upcoming work/risks.
Future Work: N/A
Risks: N/A
A place for miscellaneous notes pertaining to this system.
- N/A
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