How cuongnguyen-2002/minimal-duelscat works
This Unity project is a minimal rhythm-catcher playable-ad prototype: players choose a song, move two cats to catch notes, and reach a win or miss outcome. The documented runtime centers on a game controller and event aggregator, with input, note spawning, pooled candy, cat animation, UI, sound, and effects as distinct responsibilities. README descriptions support the relationships shown; source excerpts were unavailable, so undocumented links and the tree-listed combo system are not expanded.
Main entry points: GameEvents.cs Game Events · UIManager.cs UI Manager · CandySpawner.cs Candy Spawner · CatController.cs Cat Controller
Components 18
Game Flow
- UI Manager
Assets/Game/UI/UIManager.cs - Home Screen
Assets/Game/UI/HomeScreen.cs - Song Picker
Assets/Game/UI/PickSongScreen.cs - Gameplay Screen
Assets/Game/UI/GamePlayScreen.cs - Game Controller
Assets/Game/Scripts/Game/GameController.cs - Game Events
Assets/Game/Scripts/Game/GameEvents.cs
Rhythm Gameplay
- Input Reader
Assets/Game/Scripts/Input/InputReader.cs - Candy Spawner
Assets/Game/Scripts/Candy/CandySpawner.cs - Candy Factory
Assets/Game/Scripts/Candy/CandyFactory.cs - Candy Hit Detection
Assets/Game/Scripts/Candy/Candy.cs - Cat Controller
Assets/Game/Scripts/Cat/CatController.cs - Cat Animation
Assets/Game/Scripts/Cat/CatAnimation.cs
Screens and Feedback
- Sound Controller
Assets/Game/Scripts/Game/SoundController.cs - Pooled VFX
Assets/Game/Scripts/VFX/VFXManager.cs - Combo System
Assets/Game/Scripts/Combo/ComboSystem.cs
Game Data
- Note Chart
Assets/Game/audio/JsonMidi_BabyMonster.json - ScriptableObject Configs
Assets/Game/Scripts/SO
Other components
- Player
Connections 22
- Player → UI Manager: navigates
README.md - UI Manager → Home Screen: shows
README.md - UI Manager → Song Picker: shows
README.md - UI Manager → Gameplay Screen: shows
README.md - Game Controller → Game Events: raises events
README.md - Game Events → UI Manager: notifies
README.md - Game Events → Sound Controller: notifies
README.md - Game Events → Pooled VFX: notifies
README.md - Game Events → Cat Controller: notifies
README.md - Player → Input Reader: provides input
README.md - Input Reader → Cat Controller: moves cats
README.md - Note Chart → Candy Spawner: provides notes
README.md - Candy Spawner → Candy Factory: requests candy
README.md - Candy Factory → Candy Hit Detection: creates pooled
README.md - Candy Hit Detection → Cat Controller: detects eater
README.md - Cat Controller → Cat Animation: drives animation
README.md - ScriptableObject Configs → Candy Spawner: configures
- ScriptableObject Configs → Candy Factory: configures
- ScriptableObject Configs → Cat Animation: configures
README.md - Game Controller → Candy Spawner: coordinates notes
- Game Controller → Candy Hit Detection: checks misses
README.md - Game Events → Combo System: may notify