Page 3 of 3

Re: Game Idea

Posted: Fri Aug 19, 2011 5:16 pm
by tsturzl
kraftman wrote:
tsturzl wrote:hey kraftman, I have a surprisingly easy way to implement drawing, though it might be a little hackish. Just change the color of blocks of pixels that the used clicks on, then use the screenshot function to take a picture of it. I'm not sure if Love supports this but set a colorkey for transparency to remove the white/black/whatever colored background from the image.
Surely it'd be just as easy to have the drawn part written to a table, and then write that to image data?
It would be a bit easier than populating a table with per-pixel color values, though a bit more ghetto.