Welcome Installation Getting Started User Interaction Build a Game #1 Build a Game #2 Build a Game #3 Colours Coordinates API Reference Globals Window Camera Mouse Key Rect Image Text Shape Line Screen Sound Base

Colours

In JoBase, colours use RGB, which just means red, green, and blue. Each one gets a number from 0 to 1. By mixing those three numbers together, you get millions of other colours. Colours also have a fourth number, alpha, which controls the opacity.

Use the colour picker above, and edit the code below to change the colour of the box.


    
Build a Game #3 Coordinates