Paint Example
By tophunter7 - Added On 5/4/2010
Here is an example of how to create a simple drawing system using surfaces. The file includes an EXE and a GM6.
This example uses the 'draw_line_width' function, and since this wasn't available in GM6, I made a script to emulate it, however you do not need to use it if you use GM7 or later.
The controls are pretty simple, use 'C' and 'W' to change the color and width of the brush respectively. Oh, and click to draw. :P
Yet again, credit is not required but would be nice.
Show Less
Show More
You May Also Like
User Comments
You must be logged in to post a comment.
Devskback
This is a good solid example, but doesn't have much functionality. Not much of an accomplishment either, but beginners can find this very hard.
tophunter7
Thanks Steve. What more functionality could I add to this? And this is directed at beginners :)
TechnoSuperguy
Man, this is too awesome. I tried making a paint engine a long time ago, ut yours blows mine out of the water. :D Great work!
tophunter7
Thanks man! That's the joys of surfaces! :D
Game Info
| Developer: tophunter7 |
| Genre: Other |
| Status: Complete |
| Engine/Language: Game Maker |
| Visit Game's Web Site |
688
Views
167
Plays

