DrawFlicker
Draw cursor type blinking spot
Syntax: DrawFlicker(wi,speed=20,type=0,phase=0)
wi
walker or spot indexspeed
blinking speed. This value is used in each frame to adjust the spotphase
this value adjusts the phase of the blinking. It can be in range <-127...127>Notes: In order to make this function work properly, it must be called repeatedly during drawing. It actually just draws a spot of the current color, but it calculates it's intensity from given values and current frame counter. Therefore, it creates a nicely blinking spot on the virtual canvas.
Example: DrawFlicker(GetCursor())
See also: GetCursor
Last updated
Was this helpful?