Learn › GameCube Beginner

Lesson 3 of 6 · About 6 min

Blocks and colours

One colour in a table, and the leaves turn to autumn.

A tree of Block Valley up close, with warmer, olive green leaves.

How each kind of block is one row of a table with its textures, and how one colour can tint a texture. Then autumn leaves and pink planks.

The block table

Each kind of block is one row: which texture tile it shows on top, on the sides and underneath, whether it is solid, what you get when you break it, and how many frames of holding A it takes. Grass breaks in 8 frames, stone in 18; the gold pad and the bedrock cannot be broken at all.

The textures are 16 small tiles in one 64 by 64 picture, drawn in this game's own soft dusk colours.

A colour on top

BLOCK_COL gives each kind a colour that multiplies its texture. White leaves the texture as drawn; any other colour tints it, the light parts most. It is the cheapest way to make a new look: no new texture, one number.

Autumn

In the session you will tint the leaves toward orange and the planks pink, and see what a tint can do and what it cannot.

Block Valley in the editor with its leaves tinted a warmer, olive green, and the AI's reply in the chat.
Tint the blocks

Try it yourself

In the app this lesson opens a real game for you, with a guide that walks you through these steps:

  1. BLOCK_COL is white for every block: the textures as drawn.
  2. Make the leaves autumn orange and the planks pink.
  3. Show me the trees.
  4. Look at the trees in the demo: autumn is on its way. To make the leaves bright orange, you would ask the AI to repaint the leaf tile in the texture.
Start makingDownload on the App StoreGet it on Google Play