Files
Turing-Complete-PacMan/assets.md
2026-04-25 08:34:26 +02:00

31 lines
763 B
Markdown

# Assets
PPM files that may be converted into the game's raw data format.
## Map
The `assets/map.ppm` file contains a representation of the initial state of the map.
The corresponding tile values are:
PPM 8bits channels | Tile
-- | --
`0x00_00_00` | `0` (Empty)
`0xFF_00_00` | `1` (Wall)
`0xFF_FF_00` | `2` (Coin)
## Sprites
The corresponding in-game color values are:
PPM 8bits channels | In-game `RRRGGGBB` value | Name
-- | -- | --
`0x00_00_00` | `000_000_00` | Black
`0x00_00_FF` | `000_000_11` | Blue
`0x00_FF_00` | `000_111_00` | Green
`0x77_77_77` | `011_011_10` | Gray
`0xFF_00_00` | `111_000_00` | Red
`0xFF_00_FF` | `111_000_11` | Pink
`0xFF_80_00` | `111_100_00` | Orange
`0xFF_FF_00` | `111_110_00` | Yellow
`0xFF_FF_FF` | `111_111_11` | White