Editing Sprites - RetroKoH/S1Fixed GitHub Wiki

In most older-generation video games, a sprite is an arrangement of art tiles put together to form an image that can be moved anywhere on the screen. Sprites are often a visual representation of an object they are associated with, though this is not always the case. On the Sega Mega Drive, sprites are consisted of one or more mappings that can be anywhere from 1 to 4 tiles in width or height, therefore consisting of anything from 1-16 tiles. Multiple mappings can be placed together in varying ways to form complex sprites. Any given sprite mapping can be assigned one of 4 palette lines, a tile offset to begin drawing with, be mirrored or flipped, and also have a "priority" setting. It also has X and Y position properties. The setting applies to all the tiles in a sprite, and not for each individual tile in it. When a sprite is drawn, it first draws the tile that it gets assigned, and then for the other tiles, it just goes to the next tile in VRAM, and draws them column by column. All sprites that need to be drawn get stored in a dedicated section of VRAM.