The demo island
Worldprint comes with a demo scene: a 3 km island with mountains, a lake, a river, farmland, a port town, villages and a castle. Its map is already baked, with a minimap and a world map, so you can see Worldprint at work before you bake your own scene.
Open the scene Assets/WorldprintDemo/DemoIsland.unity and press Play.
Fly over the island
Key |
What it does |
|---|---|
Right mouse button (hold) |
Look around. |
W, A, S, D |
Fly forward, left, back, right. |
Q, E |
Go down, go up. |
Shift (hold) |
Fly faster. |
Mouse wheel |
Change the flying speed (over the minimap: zoom the minimap). |
1 to 7 |
Fly to a viewpoint: the port, the whole island, the castle, the lake, the farmland, the lighthouse, the summit. |
M |
Open or close the world map. |
T |
Switch the theme of both maps. |
H |
Hide the interface, for clean screenshots. |
The minimap follows the camera and turns with it; the triangle on its border points north. Scroll over the minimap to zoom it.
How the scene is marked up
Each part of the island uses the components described in Mark up your scene. Select an object in the Hierarchy to see how it is set up.
On the map |
In the scene |
How |
|---|---|---|
Relief, contours |
|
Read from the terrain, nothing to add. |
Grass, sand, rock, snow, fields, marsh |
The terrain layers |
Their names say what they are: |
Forests, tree dots |
The terrain trees |
Read from the terrain. Their prefabs are named |
Buildings |
Every house, the church, the castle walls and towers |
|
The sea |
|
|
The lake |
|
|
The river |
|
A river goes downhill, so its water is a stair of |
Roads and streets |
|
|
Piers |
|
|
Place names and icons |
|
|
Minimap and world map |
|
Added with Add Minimap and GameObject > Worldprint > World Map. |
The camera’s DemoIslandTour script shows the map API at work: LoadStyle switches the theme, and the world map
is shown and hidden with SetActive.
Change the island
Move a house, add a Map Label, or repaint the terrain, then click Rebake in Window > Worldprint. The map is
written to Assets/StreamingAssets/Worldprint/DemoIsland/.
You do not need the demo in your game. To remove it, delete Assets/WorldprintDemo and
Assets/StreamingAssets/Worldprint/DemoIsland.