Skip to content

Commit

Permalink
Add notes on DLC, fix incorrect json filenames, add gen8/gen7 sprite …
Browse files Browse the repository at this point in the history
…size comparison images
  • Loading branch information
msikma committed Jul 10, 2020
1 parent 3d57178 commit 494ab6f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ These sprites can be used as individual files, or accessed programmatically usin

## Sprites and metadata

This project contains both Pokémon box sprites and item sprites. For Pokémon, both the old style sprites from *Pokémon Sun/Moon* (Gen 7) and the new style sprites from *Pokémon Sword/Shield* (Gen 8) are included. Item sprites are available with Gen 8 style white outlines and without.
This project contains both Pokémon box sprites and item sprites. For Pokémon, both the old style sprites from *Pokémon Sun/Moon* (Gen 7) and the new style sprites from *Pokémon Sword/Shield* (Gen 8), including the DLC, are included. Item sprites are available with Gen 8 style white outlines and without.

| Directory | Example | Size | Type | Description |
|:----------|:-------:|:----------|:-----|:------------|
Expand All @@ -30,7 +30,7 @@ See the [Pokémon sprite overview page](https://msikma.github.io/pokesprite/over

## Data files

Developers who want to use these sprites programmatically might want to look at the `/data/dex.json` and `/data/items.json` files; the former contains a list of all Pokémon and their associated sprites, and the latter links all sprites in the repo to their internal IDs used in-game.
Developers who want to use these sprites programmatically might want to look at the `/data/pokemon.json` and `/data/item-map.json` files; the former contains a list of all Pokémon and their associated sprites, and the latter links all sprites in the repo to their internal IDs used in-game.

### Pokémon sprite list

Expand Down Expand Up @@ -122,7 +122,11 @@ For all other sprites that are neither Pokémon nor inventory items, see [`/data

Since Gen 8, the Pokémon box sprites have become 68×56 (up from 40×30 in Gen 7) to accommodate larger sprite designs.

<img align="left" src="resources/images/readme_gen8_size.png" width="177">
<p align="center">
<img src="resources/images/readme_gen8_size_1.png" width="166">
&nbsp;&nbsp;&nbsp;
<img src="resources/images/readme_gen8_size_2.png" width="166">
<p>

Most Pokémon did not get a new sprite as of Gen 8, meaning their old sprite was padded to the new size. Sprites were padded from below, with one extra pixel of space on the bottom (see left).

Expand Down
Binary file removed resources/images/readme_gen8_size.png
Binary file not shown.
Binary file added resources/images/readme_gen8_size_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/readme_gen8_size_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 494ab6f

Please sign in to comment.