Game Development Reference
In-Depth Information
5.
Name the clone StoneTextureMenus .
6.
Drag the new material onto the Quad in the viewport.
7.
Save the scene, and then choose Save Scene As and name it StartMenu .
This will provide you with a quick way to create the submenus later in the chapter.
Besides the wall that provides continuity from the menus to the 3D levels, you will also add a rustic
“wood” fence so you can have extra information pop up from behind it. This object will also require a
tiling texture, so you can create another simple Quad object for it.
1.
Create another Quad in the scene, and name it Wood Fence .
2.
Center it on the Stone Wall, and then set its Z Position to 0 so it is out “in
front” of the Stone Wall.
3.
Set its X Scale to 15.4 and the Y Scale to 5.1 .
4.
From the GUI Assets folder, select WoodFence and change its Texture Type
to Texture and click Apply.
5.
Drag the WoodFence texture onto the Wood Fence quad.
A material is generated for the texture with the Diffuse shader.
6.
Select the quad, and set its WoodFence material's x Tiling to 2 .
7.
Position the fence so that the bottom of it is just below the viewing frustum of
the Game view (Figure 10-19 ).
Figure 10-19. The Stone Wall and Wood Fence in the Game view
 
Search WWH ::




Custom Search