Unity Game Development Essentials RUS

Click here to load reader

  • date post

    21-Apr-2015
  • Category

    Documents

  • view

    734
  • download

    5

Embed Size (px)

Transcript of Unity Game Development Essentials RUS

1

: Sok@l : Will Goldstone : Unity Game Development Essentials

1 , , , . Unity - , . , , . , Unity . - , Z. Z, X Y , . , X, Y, Z - . , , . , , , , :2

(10, 15, 10) , , , . , , , X, Y, Z . , . , , , . , , (0,0,0). . , , ( Local Rotation), . , , , . - , , . , - , , , , , . - , . 3.Y

, . 2- , - , , . , . , , , . 3

, . , , , . (FOV) - . , , , , , - , , , ! , , . Unity , , , . , 2- . , , . , , , 2- , . Unity . . , , . , , , , , , . , , . , , . , , , . . - , , . , , . - , , , , 4

, (1996) , , (2006). , . , , - , . . - , , , . Unity . , , , . , , . , Unity, . , , , . , , , 2 x 2. , : 128 x128 256 x 256 512 x 512 1024 x1024 , , . , , . , 2 , . , , . Unity 5

Nvidia PhysX, . , -, , - . , , , , , , - . , , , . . , , , : , , . 6. , - , . , . , . , , , , , . , , , , . , , , . , , . Unity6

Unity , , . , " ", , Unity , . () , , . . ( var ) , , , . . Unity , . Unity, ( ), Renderer, . , . Rigidbody (Unity ) , Unity . , , , . , , ? ! - - Rigidbody, , . , , , ! , . , , . , , , , . Unity: - Unity. , , Unity , , . - , Unity . , (www.packtpub.com/files/code/8181_Code.zip ) . 7

, , Unity. Unity , ( ). , . , , Unity scripting- "GameObject". GameObjects , , Transform (). Unity , , - X, Y, Z ( , ) . , scripting, , , . , , , . . , , , . '' , . Unity, Rigidbody, , , , , , . , , Unity. Unity, , , . JavaScript, , Unity C# Boo ( ) . Unity JavaScript, - , , , , , Adobe Flash ActionScript JavaScript . Unity , , , 8

scripting , . Unity scripting , , , , Unity Classes scripting . , scripting, , , Unity, . scripting , , scripting Unity. , Unity. Mac - Unitron, PC, Uniscite. Unity PC Mac , . Unity. Unity, . Prefab Unity GameObject, , , '' '' . , , , , . - , , , ; , . Prefab , . MovieClip Adobe Flash, prefab , , , . Unity, , . dockable, , . Unity:

9

( PC), , : [1] - [2] GameObjects [3] - / [4] - , [5] - , Scene Scene - , Unity. ( ) , ( , , ) . '' , . . , .10

Scene , . , Q, W, E, R, : [Q]: , Scene. , Scene, . , CTRL . SHIFT . [W]: - . Scene, , , . [E]: , , '', . [R]: , . , . . , , Scene, Unity F, . , Scene, F. , . , Adobe Dreamweaver, - . , , , , - , -, , , , , , , . Unity, drag and drop ( ) , , , , , drag and drop ( ), .11

, . , Edit, , , .

. - . . , - - . , , Inspector. Project Project - . Unity , , , Unity , . , Project, Unity. , , , , , Unity , , .12

, , Project (Mac) Windows Explorer (PC), Unity. , , Project Unity . Project Create. , Unity, , , prefab, . Game Game , Play . , , , , 4:3 ( ) . , , : , - , , , , , . , ! Game , , fullscreen-, , . , , , "". , . , , - . , , , . , , . 13

, Unity, , , , Unity (. 2), , . , , Unity, , , . . - . , , , , , . !

2 , , , Unity. , , Unity , . : Unity , modellers14

, - , , . , , Unity: Maya 3D Studio Max Cheetah 3D Cinema 4D Blender Carara Lightwave XSI - Unity. , , Unity, - . , , , ( ) Unity, , , , Unity. , : . .fbx ( Unity, ). , , Unity. , Unity . - , , - /. , Unity - , Unity - , , . , Unity, 15

| . Unity Unity - , , , - , . Unity, . - Unity . , , | . , , . , , . , , Unity , , ALT (Mac PC), Unity. Unity, , Set , . 1, . . , Unity, . , , , .

16

, , - - . Unity 2.0, . Unity, , , . - , , , , , , , , , . , , . , - - , Unity, |, . , , . Terrain Unity , , :17

heightmaps (Heightmaps) - 2- , Unity. , .RAW , heightmaps , , Unity. Unity, , heightmaps . Heightmap

, . , , . , : . , , . Heightmap: , Unity , . , , Unity 128, 256, 512 , heightmap , , ; 4 x 4 , , . : , , Unity. , . , , , .18

, . : . Splatmap Unity, , , , . , , . , - , 512. : , Unity, , . lightmap

, , , . , , , . , , lightmap, . , , lightmap. , , . Point light , , . , , lightmap Functions , , , . lightmap, , , , . , . , - 19

, , . Functions , . , , . Height map Height map , . , , , , , , . , , , , . , , , , . , Hierarchy. , , . (). () functions, , . .

20

(), , . , , . , Transform () ( - W ).

, , , Opacity () , . SHIFT, .

21

, .

, , , , , , :

22

, , , .

, , , , , , , :

- , , Unity -

, . , Edit Textures, , , , .23

- . , , . , opacities , , . , , . .

- , , . , , , , , .

, Edit Trees, , , . : : , 24

: , : , / : , / : , SHIFT, . , CTRL, , . , , , .

() GPU ( ).

, (LOD). , . - , , , , .25

, , , , , , , , . - 10 . , , .

We'll look at the Terrain script's settings further as we begin to build our terrain.

, . , , 1 , , , , , , . , , | . , 1000. , , , . , , , . , , , , . |, 26

Height map. , 30 , , , . , . . , , , , - - , , , . - . 2 Terrain () , - . , 75. Opacity 0.5. , Y ( ) .

SHIFT, , , , - , , . , , , . , - :

27

, Scene . , , :

28

, , , , ( SHIFT), . , ! 3, ! ! , , . -, . , 75, Opacity 0.5. 200. , , , . , , 200. :

29

Your island should