Core Twist – Modular Block Puzzle Toolkit


- 7 ScriptableObject content types: ShapeDefinitionSO, BlockSetSO (weighted pools + ... - Scene & Config Validator (Tools > Core Twist > Scene & Config Validator): Non- ... THIRD-PARTY NOTICE


by InsightCore Studio


Price History +

A modular, zero-singleton block puzzle framework for Unity with pure C# NxM grids, visual 5x5 Shape & Level Editors, optional Persistence & Settings modules, 5 playable samples, and 21 automated tests

• Package Root: Single clean directory (Assets/CoreTwistToolkit/) — zero files written outside the root folder.

• Unity Compatibility: Verified on Unity 6 (6000.5.7f1). Compatible with URP, Built-in Render Pipeline, and HDRP (Canvas UI presentation with zero custom shaders).

• Input Compatibility: Works automatically with Unity Input System, Legacy Input Manager, or Both via CoreTwistEventSystemBootstrap (zero hard Unity.InputSystem assembly dependency).

• Enter Play Mode Compatibility: Fully supports Domain Reload Disabled (zero static Singletons; procedural sprite cache resets via RuntimeInitializeOnLoadMethod).

• Scripts & Assemblies: 83 documented C# scripts organized across 17 Assembly Definitions (.asmdef):

  - Runtime: CoreTwist.Core (zero dependencies), CoreTwist.PuzzleCore, CoreTwist.Content, CoreTwist.Gameplay, CoreTwist.UI, CoreTwist.Modules.Persistence (optional), CoreTwist.Modules.Settings (optional, Core-only dependency).

  - Editor: CoreTwist.Editor (zero dependency on optional modules).

  - Samples: 5 isolated sample assemblies (Basic, Advanced, Persistence, Settings, Complete).

  - Tests: 4 isolated NUnit assemblies (EditMode Core, EditMode Persistence, EditMode Settings, PlayMode).

• Included Content Assets: 27 ScriptableObject presets (10 shapes, 2 block sets, 3 visual themes, 3 grid configs, 2 difficulty configs, 2 handcrafted levels, 4 game modes, 1 settings defaults preset), 1 clean BlockCell prefab, and 5 complete playable sample scenes.

• Automated Test Coverage: 21 NUnit tests (19 EditMode + 2 PlayMode) verified across all 4 optional-module permutations and clean blank URP/Built-in project imports.

• Dependencies: com.unity.ugui (Unity UI & TextMeshPro) for optional UI views and UI sample scenes; com.unity.test-framework is optional (automated tests are guarded by versionDefines/defineConstraints so minimal projects compile cleanly with zero errors). Zero bundled third-party SDKs, DLLs, audio files, textures, or external binaries.

• Third-Party Notices: Asset uses Liberation Sans under the SIL Open Font License 1.1; see Third-Party Notices.txt and Documentation/Licenses/LiberationSans_SIL_OFL_1.1.txt in package for details. No external TMP font GUIDs are serialized in shipped scenes or prefabs.

• Documentation: Root README.md, 7 modular Markdown guides (GettingStarted, Architecture, API, OptionalModules, Troubleshooting, Changelog), and an 11-page illustrated offline PDF manual (Documentation/CoreTwist_Documentation.pdf).

Core Twist Toolkit is a clean, extensible, data-driven block puzzle framework built for Unity 6 developers who want a production-ready architecture instead of a rigid demo template.


Every runtime system is decoupled with explicit dependency wiring (zero Singletons, zero PlayerPrefs in Core, zero runtime scene searches) and isolated into 17 clean Assembly Definitions under a single root folder: Assets/CoreTwistToolkit/.


KEY FEATURES


• Pure C# NxM Grid & Core Puzzle Engine

- Supports arbitrary rectangular boards (2x2 up to 20x20), fixed or randomized obstacles, pre-filled cells, drag-and-drop placement, live hover ghost previews, simultaneous row & column clearing with intersection deduplication, combo multipliers, and move-exhaustion detection.

- Replaceable presentation layer: GridCanvasView and TrayCanvasView subscribe cleanly to logical events via IBoardPointerProjector, allowing you to swap in custom 2D Sprite, Tilemap, UI Toolkit, or 3D board renderers without rewriting gameplay logic.


• Data-Driven Content & Extensible Rules

- 7 ScriptableObject content types: ShapeDefinitionSO, BlockSetSO (weighted pools + optional deterministic RNG seeds), ThemeSO (with built-in Okabe-Ito & High Contrast colorblind palettes), GridConfigSO, DifficultyConfigSO, LevelConfigSO (score/line goals & move caps), and GameModeConfigSO.

- Pluggable C# interfaces for custom gameplay rules: IPlacementValidator, IShapeSelectionStrategy, IPuzzleScoreRule, IComboPolicy, IPuzzlePersistenceProvider, and IPuzzleSettingsProvider.

- Built-in 90-degree piece rotation, tray reroll charges, and Timed Blitz countdown with per-line bonus time.


• Optional Independent Modules (4-Permutation Modularity)

- Optional Persistence Module: Atomic .tmp JSON disk saves, unkeyed SHA-256 integrity checks, rotating .bak backup auto-recovery on corrupted files, multi-profile & multi-slot management, mid-round resume, lifetime stats, debounced flushing, forward ISaveMigration pipeline, and swappable ISaveStorageBackend.

- Optional Settings Module: Depends ONLY on CoreTwist.Core (zero Persistence coupling and zero forced UI). Independent atomic settings.json storage, SettingsDefaultsSO preset, Master/Music/SFX volume, Mute, Haptics, Ghost Preview, Screen Shake, Reduced Motion, Large HUD Text, and Colorblind Palette modes.

- Delete Persistence, Settings, or both — all remaining assemblies compile and run with zero errors.


• Visual Editor Tooling

- Toolkit Hub (Tools > Core Twist > Toolkit Hub): One-click explicitly wired puzzle scene scaffolding and quick content asset creation.

- Interactive 5x5 Shape Editor Inspector: Click cells visually to author polyominoes, preview 90-degree rotations, and normalize coordinates.

- Interactive Board Level Editor (Tools > Core Twist > Level Editor): Paint obstacles and pre-filled cells with symmetry tools and configure level goals.

- Scene & Config Validator (Tools > Core Twist > Scene & Config Validator): Non-destructive diagnostics with one-click object selection and Play Mode runtime inspectors.


• 5 Playable Sample Scenes Included

1. BasicBlockPuzzle — Pure Core-Only 8x8 classic puzzle (zero optional modules).

2. AdvancedBlockPuzzle — 10x10 tactical grid, live Mode & Theme cycling, obstacles, Rotate & Reroll, Timed Blitz.

3. PersistenceDemo — Live save/resume, profile/slot switching, stats, and 1-click corrupt-file backup recovery test.

4. SettingsDemo — Reference uGUI settings menu bound to PuzzleSettingsService with live colorblind swatches.

5. CompleteGameDemo — Full playable game loop with 4-mode selection screen, auto-detected Resume, Pause & Game Over modals.


• Audio, Pooled VFX, Documentation & Automated QA

- Procedural 9-sliced UI sprites and 7 synthesized 44.1 kHz audio cues out of the box (with Inspector AudioClip override slots), pooled line-clear sweep beams, glow bursts, popups, and notch-safe CoreTwistSafeArea.

- Includes 19 EditMode + 2 PlayMode NUnit tests (automatically skipped via versionDefines if com.unity.test-framework is not installed), 7 modular Markdown guides, and an 11-page illustrated offline PDF manual.


THIRD-PARTY NOTICE


Asset uses Liberation Sans under the SIL Open Font License 1.1; see Third-Party Notices.txt file in package for details.