paint program

Blitz3D Forums/Blitz3D Beginners Area/paint program

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.

Graphics 500,500,16,2

SetBuffer BackBuffer()

ClsColor 255,255,255

Color 0,0,0

Cls

While Not KeyDown(1)

	If MouseDown(1)
		x2 = MouseX(): y2 = MouseY()
		Line x1, y1, x2, y2
		x1=x2:y1=y2
	Else
		x1 = MouseX():y1 = MouseY()
	EndIf

	Flip
Wend

End
And to look professional... What are the forum codes?

.