-
Notifications
You must be signed in to change notification settings - Fork 0
Stage Controller
This script is used to manage the flow of the game between levels as well as setting the design of the levels when it is loaded.
When the scene is loaded, this function is called. It is a switch statement which uses the GameData object that holds the name of the current level. It then calls the function which sets up the current level for the scene.
When this function is called, normally at the end of a level to start the next level, it will use a switch statement to determine what level the GameData object says that they currently on, and sets that level name to the next levels name. It will then reload the scene, which will call the LoadCurrentLevel() function with the next level's name.
There are a series of functions that are used to set the specifics for different levels in the game. It references the Conveyor Line object scripts to set the speed of conveyors and machines. It will also call functions in numerous other scripts to set specifics such as how points will be tracked, what the demand will be, and whether order releases will be done automatically.
- Current Branch Descriptions
- Version 1 Game Flow Overview
- Version 2 Game Flow Overview
- Localization and Start Screen Canvas Organization
- Overview of Scripts and Connections
- Machine Scripts
- Order Releases
- Demand
- Stage Controller
- Data Collection
- Video Recording
- Money Tracking
- Quest Systems for Levels and Tutorials
- Object Pooling
- Time Controller
- Forklift Scripts
- OpenAI Assistant Integration
- Ray Casting
- Camera Script
- General Purpose Object Collision