
Procedural Puzzle 2D/3D Generation with Custom Matrix Sizes
From your dream
$15.00
$30.00
50%OFF
(no ratings)
Jump AssetStore
Procedural 2D & 3D logic puzzle system with customizable grid sizes and toggle mechanics. Perfect for mini-games and brain teasers.Procedural Puzzle 2D/3D — Customizable Grid Logic SystemCreate customizable 2D (UI) and 3D (world-space) grid-based puzzles using a simple toggle mechanic. Ideal for hacking mini-games, brain teasers, or sci-fi puzzle systems. Fully compatible with Unity 6.Features:Supports both 2D (Canvas UI) and 3D (world space) puzzlesFully customizable grid sizes via ScriptableObjectLogical toggle behavior: affects cell + 4 neighbors (cross pattern)Modular code with separated logic for 2D/3D cellsBuilt-in move counter with completion detectionClean and extensible architecture (OOP)Demo scenes: 3×3, 5×5, 6×4 puzzle examples in 2D and 3D3D player controller for scene interactionPackage Includes:2D and 3D puzzle prefabs1 stylized 3D puzzle model with 4 materialsComplete demo sceneModular C# codeFont: Autowide Regular (SIL OFL)Full documentation included inside the assetSuitable for: mini-games, sci-fi mechanics, educational logic systems, hacking sequences, puzzle-based gameplayTested with Unity 6 (URP & Built-in RP)Core Features:Procedural puzzle generation based on customizable ScriptableObject configs (MatrixBoardConfig)Supports both 2D (UI-based) and 3D (world-space) puzzle typesLogical toggle system: each click affects the selected cell and its neighbors (cross pattern)Clean value logic: 0 → 1 → 0Grid-based generation handled via Grid2D and Grid3D scriptsDemo puzzles: 3×3, 5×5, 6×4 in both 2D and 3D formatsFully modular and reusable puzzle controller (MatrixBoard) using interfaces like IInteractableObjectVisual feedback using TextMeshPro gradients in 2D and material switching in 3DCell logic is separated into CellElement, CellElement2D, and CellElement3D for better scalabilityMove counter system with automatic reset and completion detectionPlayer controller included for interaction testing in the 3D sceneThis asset uses the "Autowide Regular" font from Google Fonts under the SIL Open Font License and AI-generated images from Leonardo.Ai; see Third-Party Notices.txt for detailsIncluded Assets:- 1 stylized 3D puzzle model with 4 materials (2 used for dynamic switching)- Prefabs for 2D and 3D cells with full setup- Well-structured and sometimes commented C# source code (OOP)- Complete demo scene with interactive UI and world-space interactionDocumentation included inside the asset its "HOW TO USE.PDF"