Learn › Godot 3D Intermediate

Lesson 5 of 5 · About 7 min

A bigger island

How Cube Island stays fast on a phone: only the blocks you can see are drawn, all of one kind at once. Then grow a much bigger island.

Only what touches air

Most of the island's cells are hidden inside the ground. Cube Island draws only blocks with a face that touches air, water or leaves, about 4,000 of them, and draws every block of one kind in a single go: seven kinds, seven draws. When you dig or place, only the cells around that spot are redrawn, never the whole world.

That is how a world of tens of thousands of cells runs on a phone.

Godot 3D Intermediate is a course for paid accounts. The rest of this lesson, and its guided session, are in the app.

Start makingDownload on the App StoreGet it on Google Play