Paint\Draw

Blitz3D Forums/Blitz3D Programming/Paint\Draw

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

This might help a bit... http://www.blitzbasic.com/codearcs/codearcs.php?code=2224

And... To answer your question.

Store the old mouse position and the new and draw a line between the two.

Graphics 640,480,32,2

MoveMouse 320,240
ox = 320
oy = 240
Repeat

	x = MouseX()
	y = MouseY()
	
	Line ox,oy,x,y
	
	ox = x
	oy = y

Until KeyHit(1)