-
Notifications
You must be signed in to change notification settings - Fork 0
Global Script
Andrew Hernandez edited this page Jun 22, 2026
·
6 revisions
Descriptive summary of what the system is and what it does.
A script containing enums and signals used across all other scripts.
List of connecting/parent/subsystems.
Connecting Systems:
List of related controls.
N/A
List of known bugs. Be descriptive but keep it brief!
- None
List of features and descriptions within system.
Global Enums:
-
State: The state of the application. -
Tool: The tools used during the editor state. -
HotbarState: The state of the object hotbar in the editor state. -
BoxBrushState: The state of the box brush, to determine wait times for confirmation. -
TileType: The different tiles and their numeric indices. (MUST MATCHTILESET.TRES) -
EntityType: The numeric indices of the entities and props.
Global Signals:
-
death: Emitted when the player dies, resetting the scene. -
reload: Emitted when the level scene is reloaded. -
complete: Emitted when the player reaches the goal, returning to editor state. -
levelCreated: Emitted when a new level is created from the main menu.
Name the most important variables, their type, and what their purpose is
-
ERASING_TILE: int= The index of the erasing tile graphic. Used purely for previews. -
tileSize: int= the size of all cells in pixels.
Name of the most important functions, their parameters, and what they do.
- N/A
List and description of upcoming work/risks.
Future Work: N/A
Risks:
- N/A
A place for miscellaneous notes pertaining to this system.
-
tileSizeshould have its name edited to fit coding standards: "CELL_SIZE"
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