Open klaushauschild1984 opened 8 years ago
Need some extra work on validation and displaying.
Maybe it could be nice to have a tool that creates a ScreenImage out of a pixel image. The background could come from the average color of the image (http://stackoverflow.com/questions/12408431/how-can-i-get-the-average-colour-of-an-image). The foreground is just the pixel colors from the image and the text will be producted by an ascii-art conversion (https://gist.github.com/shmert/3859200).
Build an ui component for displaying something like images.
The sources will be three files:
Every pixel with a color and no alpha or a character will be printed. To prevent a pixel to be drawn make it fully transparent in the image files and no character in the text file. All three files share the same grid of "pixels" and will be overlayed during rendering.
This resource will be the basic implementation for rooms and maybe somelike sprite or so.