Dazzle is a complete puzzle game template for Unity that provides an excellent starting point for your projects. Dazzle implements all the core game functionalities and is ready to ship.Kickstart your next puzzle game with a production-ready, mobile-optimized Unity template. Dazzle includes all core gameplay systems, clean architecture, and polished features—so you can customize, extend, and publish faster.🚀 Key Features ◉ Drag & Drop Gameplay – Smooth, responsive piece placement◉ Smart Placement Preview – Real-time shadow indicating valid drop areas◉ Piece Storage System – Hold and swap pieces for strategic play◉ Scoring & High Scores – Built-in system with persistent data◉ Audio Integration – Ready-to-use SFX for actions and feedback◉ Polished Animations – Fluid board and block transitions◉ Customizable Pieces – Flexible PieceProvider system◉ Game State Detection – Automatic valid move & game-over logic◉ Pause Menu – Resume and restart functionality included◉ Localization Ready – Easily support multiple languages◉ Mobile Optimized – Responsive layouts for different screen sizes💡 Perfect For◉ Indie developers and solo creators◉ Mobile puzzle game projects◉ Rapid prototyping and game jams◉ Learning structured Unity game architectureDazzle is a complete 2D block puzzle game template for Unity. The package includes gameplay systems, UI, audio, animations, prefabs, and a sample scene that demonstrates the expected setup.Unity Version◉ Original Unity version: 2022.3.62f3 (2022.3 LTS)Package Contents◉ 1 sample scene: Assets/Dazzle/Scene/SampleScene.unity◉ 47 runtime C# scripts in Assets/Dazzle/Script◉ 2 edit mode test files in Assets/Tests/EditMode◉ 11 prefabs◉ 7 animation clips◉ 14 sprite textures◉ 2 sample sound effects◉ Documentation files: Assets/Dazzle/DocumentationCore Features◉ Drag-and-drop piece placement◉ Board shadow / move hint while dragging◉ Piece storage slot for later use◉ Score and persistent high-score system◉ Pause and restart flow◉ Game-over detection◉ New high-score feedback with animation and particles◉ Form-based pause menu rendering◉ Localization interface with English implementation included◉ Configurable piece set and piece color providerTechnical Architecture◉ Runtime assembly: Dazzle◉ Namespace: Dazzle◉ Scene bootstrap via DependencyAssembly MonoBehaviour◉ Lightweight dependency injection via DependencyResolver◉ Event-driven communication via IEventBus / EventBus◉ UI built with uGUI and TextMesh Pro◉ Plain C# gameplay services for game logic, board logic, configuration, preferences, and piece generationMain runtime modules:◉ GameLogic: scoring, restart flow, move availability checks, and game-over handling◉ Board / BoardView / BoardViewModel: board state, placement rules, line clearing, and visual updates◉ PieceController / StoredPieceController: draggable gameplay pieces and stored piece slot◉ PauseMenu and Form module: pause/game-over UI composition◉ Score / ScoreViewModel / NewHighScore: score presentation and feedback◉ AudioPlayer: sample SFX playbackDependencies◉ com.unity.textmeshpro 3.0.6◉ com.unity.ugui 1.0.0The project manifest also includes standard editor / template packages, but the gameplay asset itself is built around Unity UI and TextMesh Pro.Input, UI, and Platform Notes◉ Uses Unity EventSystem interfaces (IPointerDownHandler, IPointerUpHandler, IDragHandler, IBeginDragHandler, IEndDragHandler)◉ Uses Screen.safeArea for UI safe-area adjustments on mobile devices◉ Target frame rate is configured to 60 FPS◉ Board size is configured as 10 x 10◉ Scoring base multiplier is configured as 10Audio and Visual Systems◉ Includes 2 sample audio clips for piece placement and score clear feedback◉ Uses legacy Animation clips for pause menu and new high-score presentation◉ Uses ParticleSystem for high-score celebration feedback◉ No custom shaders or materials are included in the packageData Storage◉ High score is stored locally via PlayerPrefs◉ PlayerPrefs key: dazzle.prefs.high-scoreExternal Services and Permissions◉ No networking code included◉ No custom native plugins includedIncluded Sample Scene SetupThe sample scene contains the expected runtime composition for the asset:◉ Main Camera◉ Canvas◉ Event System◉ Game bootstrap object and supporting service componentsCustomization Points◉ Config for gameplay constants such as board size, score multiplier, target frame rate, and drag behavior◉ PieceProvider for defining available puzzle pieces◉ PieceColorProvider for visual theme / piece colors◉ ILocalizedString for replacing built-in English strings◉ Form prefabs for customizing pause and modal UICompatibility Notes◉ Built as a 2D Unity project template◉ Uses built-in Unity components rather than URP/HDRP-specific shaders or renderer features◉ Suitable as a starter template or base project for mobile-oriented puzzle gamesI used LLMs for the code review.




