Hello. I was just wondering, has anyone ever tried making a game with programmatic pixel art? What I mean is, instead of using a spritesheet, this individual would have used an array (for example) to map out a sprite in the program and draw them with pixels using a graphics primitive function.
// Basic example using C++ syntax
pixelArt[3][3] = {
{'1', '1', '1'},
{'1', '0', '1'},
{'1', '1', '1'}
};
// Output (the ? represents a pixel drawn by a graphics function)
// ???
// ? ?
// ???
However, the aim would be to output something like this:
Does it make sense to try such a method if the sprites are generally small and simplistic? Or is it better to just use a spritesheet (texture atlas)? It might be a fun project for me if it proves to be practical.