a2Dot

This command will draw a dot on the screen.

  Syntax
a2Dot X, Y, color
  Parameters
X
Float
This value specifies the X coordinate of the dot.
Y
Float
This value specifies the y coordinate of the dot.
color
Integer
This value is a 32 bit integer specifying alpha, red, green, and blue color values for the dot.

  Returns

This command does not return a value.

  Description

This command will draw a dot on the screen. The time it takes to draw many dots can be reduced by using the Advanced 2D batch commands.

  Example Code
a = timer()

for x = 1 to 100000
    a2Dot rnd(screen width()),rnd(screen height()),rgb(rnd(255),rnd(255),rnd(255))
next x

print timer()-a

WAIT KEY
  See also

a2StartDotBatch
a2EndBatch
Advanced 2D Index
Main Menu