The Daily Click ::. Forums ::. Klik Coding Help ::. TMF drawing
 

Post Reply  Post Oekaki 
 

Posted By Message

richard tock



Registered
  18/03/2006
Points
  3
18th March, 2006 at 17:14:55 -

I'm creating something in tmf, where the idea is the user draws something with the mouse. So far, I've put an invistible marker where the mouse is, and made it shoot a black dot at speed 0 when the mouse is held down. This works fine, however after a few lines, the dots stop appearing. Is this becuase TMF has reached it's object limit? Cna I change the object limit. The movement is also jerky, the lines have gaps in. Can anyone think of a more efficient method of doing this?

 
n/a

DanielRehn



Registered
  18/09/2002
Points
  139
18th March, 2006 at 17:32:07 -

I suppose u mean MMF and in that case I would use an overlay object...

While the mouse i held down
-Store Mouse Coordinates
-Draw a line from old to new position (line prevents gaps)

The simplest thing would be to use the draw object though..

 
n/a

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
18th March, 2006 at 17:36:31 -

draw object = very buggy

 
My signature is never too big!!!

richard tock



Registered
  18/03/2006
Points
  3
18th March, 2006 at 17:36:51 -

I actually meant TGF. I don't want to draw lines as such. More free form drawing like paint.

Image Edited by the Author.

 
n/a

DanielRehn



Registered
  18/09/2002
Points
  139
18th March, 2006 at 17:41:52 -

Ok.. In tgf it gets trickier... (When I said lines i meant for you to draw lines from the old to new mouse position, it would still be free form drawing, this was only to prevent gaps since the mouse could jump very far in one loop)...

Hmm... TGF has an object limit of about 260 objects and if you shoot objects all the time it takes about 5 seconds before you reached the limit...

Image Edited by the Author.

 
n/a

richard tock



Registered
  18/03/2006
Points
  3
18th March, 2006 at 17:44:15 -

Oh bums.

I might do it in flash instead, then. It's only a silly little joke project. No big deal.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click