Add MinigameBlockBandit scene setup#444
Open
Shombith03 wants to merge 3 commits into
Open
Conversation
The MinigameBlockBandit.unity scene was accidentally removed in commit dedbeff ("Refactor Cell System by removing CellControlManager"). This restores the scene file and its meta from the parent of that commit and re-adds it to EditorBuildSettings so it is included in builds. The BlockBandit game mode enum, SO assets, and all code references were never removed and still point to this scene name. https://claude.ai/code/session_01WVcj2Fts79u1xi4EVKt6up
- Create SinglePlayerBlockBanditController extending the base SinglePlayerMiniGameControllerBase. Handles ready button, timed turns, and triggers the scoreboard on game end. - Replace broken SinglePlayerFreestyleController reference in the scene with the new BlockBanditController. - Remove deleted CellControlManager from the Environment object (was causing missing script errors). - Add Cell prefab instance to the Environment so nucleus, membrane, and flora/fauna spawn at runtime (fixes missing cell/colliders). - Add BlocksStolen scoring mode alongside HostileVolumeDestroyed. - Fix Ready button onClick to target the new controller class. - Scoreboard is already provided by the GameCanvas prefab. https://claude.ai/code/session_01WVcj2Fts79u1xi4EVKt6up
…ch patterns - BlockBanditEndGameController: extends EndGameCinematicController with PrismStolen-based score reveal (like CrystalCapture/HexRace/Joust) - BlockBanditScoreboard: extends Scoreboard, sorts by blocks stolen descending - BlockBanditHUD: extends MultiplayerHUD, tracks PrismStolen stat changes - Fix SinglePlayerBlockBanditController: remove direct InvokeShowGameEndScreen call — EndGameCinematicController handles the full post-game flow https://claude.ai/code/session_01WVcj2Fts79u1xi4EVKt6up
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added a new minigame scene called "MinigameBlockBandit" with complete environment setup, game mechanics configuration, and scene hierarchy.
Key Changes
New Scene File: Created
Assets/_Scenes/MinigameBlockBandit.unitywith full scene configurationScene Components:
Game Configuration:
Build Settings: Registered the new scene in EditorBuildSettings for inclusion in builds
Implementation Details
https://claude.ai/code/session_01WVcj2Fts79u1xi4EVKt6up