one sprite = one hundred cowboys?
Game consoles of old use palettised sprites, a range of colour indexes that could be swapped out to make sprites different colours. The most famous example of this is in super mario bros on the NES, where with a simple swap of the palette, bushes can be clouds. It's a deep topic with many technical details, that is common to 8-bit and 16-bit machines. On modern computers however, this technique is not really an option in the way it was on those consoles. Now we have to rely on remapping luminance in textures on the graphics card using shaders.
Often this is done with tinting, taking a grayscale image and tinting it wholly so all of the texture is a desired shade like green or red. Is this possible for sprites that have 16 colours? Can we address certain colour indexes and swap them out, and why would we want to do that anyway?
In the image above, there are 3 layers: torso, legs and hat. When put together, they make a cowboy. Applying a shader that remaps the grayscale to set colours, gives way to many types of cowboy using one sprite. With a little bit of planning, it's possible to make details like badges, bandanas, waistcoats etc. appear by swapping colour palettes alone.
Get Bad Pixels
Bad Pixels
8-bit shoot-out in the old west
Status | In development |
Author | dadako |
Genre | Action |
Tags | 3D, 8-Bit, boomer-shooter, Commodore 64, FPS, Low-poly, Pixel Art, Retro |
Languages | English |
Accessibility | Subtitles |
More posts
- console hud90 days ago
- TerrainJul 18, 2024
- Lighting part 2 - shadowsApr 15, 2024
- Lighting & the cutting room floorFeb 06, 2024
- Wanted, dead or dead.Dec 16, 2023
- Tumbleweeds, roll out!Oct 11, 2023
Leave a comment
Log in with itch.io to leave a comment.