Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions juice-man-repo/specs/level_1/v8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Level 1 — v8

Prismatic After-images create a vivid, ghostly trail of Pac-Man's movement, turning his path through the rotating maze into a sweeping rainbow ribbon.

- **After-image System**: Pac-Man generates a semi-transparent clone of himself every 60ms. Clones are stored in a fixed-size queue and fade out over 500ms.
- **Chromatic Shift**: Each after-image is assigned a color from the `RAINBOW` palette, cycling through colors sequentially to create a continuous spectrum trail.
- **Rotation Mapping**: After-images are anchored to the playfield's coordinate system, meaning they rotate and spin perfectly with the maze and Pac-Man, creating elegant, colorful spirals as he moves.
- **Visual Polish**: After-images use a `globalAlpha` fade and a slight scale-down (from 1.0 to 0.8) as they age, creating a tapering effect.