Step 2: Red, Green, and Blue
Let's take this to the next level.
>Click Level 2 in the game.
(image of clicking level 2 in level select screen)
This time you'll make an image of coloured pixels. It's important to know that a pixel is made of three lights that mix together: Red, green, and blue.
(image of pixel on screen close up)
We can tell the Red, Green, and Blue parts of a pixel to turn on or off by setting their binary digit to 1 (on) or 0 (off). Each pixel will now have a 3 binary digits, for example, a red pixel will have: Red = on, Green = off, and Blue = off, and would be represented as 101.
There are 8 pixels in each row, and 3 digits for each pixel, so we now have 24 digits in each row.
>Click on the first line of binary and type in 100 to make the first pixel red, then add 21 zeros. This should be 100000000000000000000000.
(image of typing in 100000000000000000000000)
>Then click OK.
The second pixel is represented by the next 3 digits. Let's change the colour of the second pixel to yellow (yellow is made from red light and green light combined).
>Click on the first line of binary and type in 100 to keep the first pixel red, then add 110 to make the second pixel yellow, followed by 21 zeros to keep the rest of the pixels turned off (black).
(image of red and yellow pixels with all the code)
This kind of colour is called 3-bit colour, since we have 3 bits for each pixel (remember a bit is a 1 or a 0). Here are all the colours you can create with 3-bit colour:
(image showing the 3-bit colours with their binary representation)
>Use these 3-bit colours to create this colourful rainbow coin image:
(image of rainbow coin with code in image)
Remember to type 24 1s and 0s into each line of binary.
>Click Next to see your image in the game.
Did you make the rainbow coin image? If not, collect the coin and click Back to return to the pixel art screen. (Make sure you don't close the game, or you will lose your changes).
If you successfully made the rainbow coin image, click Continue in the game, and move on to Step 3.