Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 2

XorLineRelC(XRel, YRel, Color)

XORs a line a relative distance from the current X, Y position using the specified color.

You can give this function both positive and negative values.

Parameters

XRel - Number points to draw line in a horizontal direction
YRel - Number points to draw line in a vertical direction
Color - Color of line

Examples

BASIC

CALL XorLineRelC(-5, -10, 15)

PASCAL

XorLineRelC(-5, -10, 15);