Win animation, level selector, level editor, completion tracking
Slippery Boxes went from prototype to a playable game with win detection, level selection, completion tracking and a proper level editor.
Added 14
- Copy level JSON to clipboard from the export dialog
- Loading spinner while the bundle loads
- Menu toggle shortcut
- "New (Copy)" duplicates an existing level
- "Pockets" and "Rolly" levels
- Level editor with import, export and cell placement modes
- Tutorial levels and a "ladders" level
- Red goals in the editor
- Level completion date and time tracking
- Level menu with Play and Edit tabs
- Level selector dialog that opens on completion
- Win detection with a squish animation
- Coordinate overlay toggle in the debug GUI
- "EasyMode" tutorial and other new levels
Changed 6
- Runtime state separated from saved level data
- Completed levels localStorage key renamed
- Level selector groups levels and shows checkmarks
- Smaller levels padded when the grid grows to 19 columns
- Magic numbers extracted into constants
- Levels use unique IDs
Fixed 6
- Canvas scaling issues
- Edit mode bug
- Keyboard input reaching gameplay while dialogs are open
- Incorrect player spawn positions
- Wall goal rendering
- Goal cells deletable in the editor