how do you make a drawing tool?

Non-platform specific questions.

how do you make a drawing tool?

Postby Goomba » Fri May 11, 2012 6:47 pm

How do you make a paint like program? would you use the followmouse action then some thing else? :?
Batman can't be killed - setosorcerer
he can only be neutered... - ASFJerome
User avatar
Goomba
 
Posts: 220
Joined: Wed Apr 25, 2012 2:55 am
Location: Beyond time and space...
Score: 7 Give a positive score

Re: how do you make a drawing tool?

Postby skydereign » Fri May 11, 2012 7:35 pm

For drawing you have to use a canvas actor. From there you can set the painting tool used by the canvas with the setpen function. To actually draw, you either use putpixel, or moveto/lineto. You can look the canvas functions up here, as well as there are plenty of canvas examples on the forums. http://game-editor.com/docs/script_reference.htm
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: how do you make a drawing tool?

Postby Goomba » Sat May 12, 2012 11:30 pm

ok thanx :D
Batman can't be killed - setosorcerer
he can only be neutered... - ASFJerome
User avatar
Goomba
 
Posts: 220
Joined: Wed Apr 25, 2012 2:55 am
Location: Beyond time and space...
Score: 7 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron