From 03ce21df4ee29944b031ad5289cfe6119a7ad211 Mon Sep 17 00:00:00 2001 From: Joey Lee Date: Thu, 21 Dec 2023 23:09:06 +1100 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b42224a..42de2c5 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,17 @@ yarn dev Go to `http://localhost:1234` +### Usage + +#### Background Selection +Select the background colour of your sprite sheet so that trimming works as expected. + +#### Exporting a Single Sprite +Click on a sprite, check the preview and click export. A `.png` file will be downloaded. + +#### Exporting Multiple Sprites +Click on a sprite, hold shift to select another sprite, and another, and another. Click export. A `.zip` file will be downloaded. + ### Todo - [x] Export individual selected sprites as PNG - [x] Preview panel for selected sprite @@ -18,6 +29,6 @@ Go to `http://localhost:1234` ### Ideas - [ ] Right-click to export -- [ ] Shift to select multiple sprites and export all +- [x] Shift to select multiple sprites and export all - [ ] Adjustable rectangle after selection - [ ] Grid-based slicing