Commit Graph

13 Commits

Author SHA1 Message Date
Savya Bikram Shah
3c2e486529 Basic Setup For Shape Builder 2026-05-28 12:13:26 +05:45
Savya Bikram Shah
848b176953 docs(readme): drop Paper feature, simplify gallery, add scripts inventory
Major restructure:
- Remove Paper feature entirely (IPaperSurface, PaperSurface, PaperSurfaceModule).
  Paper is just RectTransforms in the ColorBook scene, exposed via a
  ColorBookSceneRefs MonoBehaviour the scope registers as a singleton.
- Simplify IGalleryService to a single SaveToDeviceAsync(byte[], albumName)
  shim over a native gallery plugin. Drop ListAsync / LoadFullAsync /
  LoadThumbnailAsync / DeleteAsync / GetLatestThumbnailAsync /
  SavedArtworkDTO / sidecar JSON / persistentDataPath gallery folder.
- Drop ArtBook feature (no in-app gallery — users view captures in phone
  Photos). Removes ArtBookLifetimeScope, GalleryPresenter, IExternalShareService.
- Replace ArtworkCapturedSignal / ArtworkSavedSignal with PaperCapturedSignal /
  PaperSavedSignal (templateId only).
- Capture and Gallery are now independent: ICaptureService produces PNG bytes,
  IGalleryService writes them to native Photos. CaptureController orchestrates
  the chain.
- Rewrite §11 Persistence — only ProtectedPlayerPrefs for settings/progression;
  no app-side image store.
- Remove §28 SavedArtwork JSON Schema; replace with §28 Native Gallery
  Integration (plugin recommendations, permission flows).
- Add §31b: Scripts Inventory by Domain — comprehensive path-by-path table
  of every script (existing and planned) across Core / Libs / Services /
  Features / App, with status markers.
- Update Readme.docx — better formatting (page break before each numbered
  section, blue heading underlines, alternating row shading on tables,
  monospace code blocks with left accent bar, expanded title page).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 15:07:13 +05:45
Savya Bikram Shah
4f30ba504f docs(readme): add Spine mascot on main menu, controlled from code
- New §9 MainMenu responsibility: Spine character with idle + reaction
  animations, driven by MenuMascotPresenter
- New §32.3b MainMenu feature reference: IMenuMascotView (Play/SetSkin/
  AnimationComplete), MenuMascotView wrapping SkeletonGraphic for Canvas,
  MenuMascotPresenter listening to model events
- §10 Addressables: add Spine asset group + ShapeSO library + Shapes line
- §30 Setup checklist: list required Unity packages including Spine-Unity
- §31, §32.14: add MenuMascotView / MenuMascotPresenter rows

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 13:42:31 +05:45
Savya Bikram Shah
f79847bec9 docs(readme): shapes are ScriptableObjects + one piece prefab
- Drop ShapePieceDTO struct; introduce ShapeSO (created via Assets > Create
  > Darkmatter > Drawing > Shape). Sprite, snap radii, default size all on
  the SO. Slot pose lives on SlotMarker's RectTransform per drawing.
- IDrawingTemplate.Pieces is now IReadOnlyList<ShapeSO> — shapes reusable
  across drawings; per-drawing layout authored in a Drawing.prefab of
  SlotMarkers.
- ShapePieceUI is one prefab with [SerializeField] ShapeSO _shape;
  Assign(shape) at spawn refreshes Image.sprite + RectTransform.sizeDelta
  + derives PieceId from _shape.Id. Matching is by ShapeSO reference
  equality, not string id.
- Update content layout: Content/Gameplay/Shapes/, Drawings/<id>/Drawing.prefab,
  Prefabs/ShapePiece.prefab.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 13:34:03 +05:45
Savya Bikram Shah
10be8fe01f docs(readme): make thumbnail dynamic — default + latest-capture lookup
- Rename IDrawingTemplate.Thumbnail → DefaultThumbnail (authored fallback)
- Add IGalleryService.GetLatestThumbnailAsync(templateId) for catalog grid
- DrawingCatalog cells show latest user capture when available, else default;
  refresh on ArtworkSavedSignal so progress reflects without a reopen

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 13:29:31 +05:45
Savya Bikram Shah
d3d16439b6 Readme asset 2026-05-27 13:13:47 +05:45
Savya Bikram Shah
50ca3a0a0f readme updates 2026-05-27 11:07:05 +05:45
Savya Bikram Shah
f3b53be39d Gallery Done 2026-05-27 10:55:39 +05:45
Savya Bikram Shah
3791708a17 Package and reeadme updates 2026-05-27 10:36:39 +05:45
Savya Bikram Shah
e6391e0b32 Readme update 2026-05-27 10:20:48 +05:45
Savya Bikram Shah
0b4aeb8fd8 Added BaseLifetimescope and gameplay scene 2026-05-26 18:59:54 +05:45
Savya Bikram Shah
8d599a6396 docs added 2026-05-26 17:35:06 +05:45
Savya Bikram Shah
8a018d14c5 added readme 2026-05-26 17:23:58 +05:45