Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Black Monkey |
I want to use the drawing-methods, (draw_line(), draw_circle(), etc) , while I’m responding to mouse-events (hover, pressed, released, etc.)
a.t.m. I put all the drawing commands and parameters in 2 on-frame-alternating arrays, and let _draw() read these arrays and execute the functions.
It works, but I’m not sure if it works under all circumstances.
What would be a proper way to do this?
Thanks ahead!