Difference between revisions of "Script:System/colors.js"

From Spherical
Jump to: navigation, search
(created from http://web.archive.org/web/20100621062552/http://www.spheredev.org/wiki/Colors.js_%28system_script%29)
(No difference)

Revision as of 20:27, 2 August 2013

The system script colors.js consists of eight Sphere color objects that represent the eight standard colors:

  • Black
  • White
  • Red
  • Green
  • Blue
  • Cyan
  • Magenta
  • Yellow

Usage

RequireSystemScript("colors.js");


Example

RequireSystemScript("colors.js");
Rectangle(0, 0, 100, 100, Magenta);
FlipScreen();