Simplified Mini-Game
Last updated
Last updated
The video below shows the steps to import a simplified MiniGame if you were not able to get a working MiniGame for Project 1. This video assumes that you have already imported and configured the InventorySystem Files.
If you did not submit a working MiniGame for Project 1, then you can follow these steps to add required functionality of simplified minigame for Project 3. This version of the MiniGame does not have Spawner, ResultsPanel, or animation logic for the Player
Required Configuration Steps, Details:
Start: Create a backup version of your Project 2 Unity project. You will add and modify this simplified MiniGame, to create Project 3.
Step 1: Download and install Inventory-System Code: Inventory-System Class Files UnityPackage.
Step 2: After downloading, installing, the Inventory-System Code, you must reconfigure the GameManager gameObject in BeginScene to insure that GameData.cs script component is attached. correctly configured.
Step 3: Create a Inventory ScriptableObject, and Attach to GameData in BeginScene. (See additional details)
Resolve all errors before downloading, installing the MiniGame_v2 Package.
Step 4: Download and install: Simplified Minigame_v2: UnityPackage
Package Contents:
MiniGame_v2 Scene with configured GameObjects
Custom Scripts: PlayerController_v2, MiniGameManager_v2
Step 5: Attach GameData.cs to empty gameObject: GameManager gameObject in MiniGame_v2.
Step 6: Attach Inventory ScriptableObject (created in Step 3) to the GameData component in the MiniGame_v2.
Step 7 In MiniGame_v2 Scene: Sorting Layers must be set for all objects with Image/SpriteRenderer Component: If a gameObject is not visible, set the sorting-layer for that object.
You may need to fix prefabs by re-attaching and configuring PickUp.cs on Collectible GameObjects.
Finally: Try to play the MiniGame_v2.
Verify Functionality: StartButton starts the game, pickUp prefabs are visible, player gameObject can be moved using arrow keys, jump with spacebar. Verify score and health change when hitting PickUp objects.