Computer Science Canada

Mouse Position

Author:  TheXploder [ Thu Mar 11, 2004 7:19 pm ]
Post subject:  Mouse Position

I have a problem with the speed of this code, how do I make it faster? Why doesn't it clear?

code:
View.Set ("offscreenonly")

var mousex, mousey, button : int

proc DrawLine
    drawline (mousex, mousey, mousex + 10, mousey, 7)
end DrawLine

loop
    Mouse.Where (mousex, mousey, button)
    DrawLine
    View.Update
end loop

Author:  Paul [ Thu Mar 11, 2004 7:25 pm ]
Post subject: 

Tell me what your trying to do Question
What do you mean it doesn't clear Question
And the speed is find on my computer but I don't really know what speed you want, its a simple code, I don't see anyway of making if faster, but Im not pro Question

Author:  TheXploder [ Thu Mar 11, 2004 7:30 pm ]
Post subject: 

nevermind, I figured it out...


: