Posts Tagged ‘ transportation ’

Some features of rev 1.0.3

New movement functions in rev 1.0.3

rotate (id, angle)

double = xval_to_point (id, targetX, targetY, speed)

double = yval_to_point (id, targetX, targetY, speed)

double = xval_to_direction (id, angle, speed)

double = yval_to_direction (id, angle, speed)

angle = lookAt (id, targetX, targetY)

And new mouse events

LeftButton

RightButton

MiddleButton

Instead of “Left” and converting Button to string, easily use e.Button==LeftButton

Advertisements
%d bloggers like this: