GM Paint is, you guessed it, MS Paint in GMod. As I was working on a different addon the other day, I found myself wanting a flag for my pirate ship - and I got to thinking, what if, instead of making a new texture and material for the flag, I created something to allow myself and others to draw their own? So I did.
UPDATE: Version 0.77
Now with no datastream-breaking bugs! (Hopefully :ohdear:)
Beta Release 0.77
Mediafire (OUTDATED, 0.76): http://www.mediafire.com/?tdhuzng0ijc
Now you can show us all your 8-bit works of art.[/release]
Some feature listings for y'all:
Primary and Secondary Colors
Like any good image editing program, GM Paint has primary and secondary color selection. When the editor is open, left clicking on a color in the color selection palette will set it to your primary color, and right clicking will set it to your secondary. This has an advantage not only in ease of selection, but also in less networking in that only an index and not a whole color value has to be sent. You then simply click on a point with your left or right mouse button to set it to the selected color on your massive :ninja: 16x16 resolution canvas. Additionally, you can hit the "Clear" button to set all the pixels on your canvas to your secondary color.
File Saving and Loading
Easy-to-use file saving and loading allows you to keep your grand works of *cough*art*cough* and easily manage it across servers.
Once you're done editing your art, you can hit the Upload button to send it to the server. Once the server has a hold of it, you can spawn paint panels in the 3D world, upon all of which your image will be displayed for everyone to see. Uploading again will replace the image in your panels, and of course there are upload limits to prevent spamming minges. I kept the canvas at a resolution of only 16x16 as stated before because as is, a table of 256 values has to be sent every time you upload an image - I may add an option for daring server owners to increase the resolution later.
Text Support (Not yet implemented.)
In addition to pixel-based art, you will also be able to use text to create signs, perfect for RP and whatnot.
What can currently be done in place of actual text:
Vector Art (Not yet implemented.)
A feature still in the concept stage, I've been thinking about adding the option to use a "vector canvas," in which instead of specifying the color for every pixel, you would specify points that would be connected and filled to create polygons. This requires much less networking and would allow for "higher resolution" art.
And since it had to be done: