Uploaded by taxaber505

Разработка игрового проекта на основе Unity

advertisement
«
»
. .
___________
,
«13»
09.03.02
Unity
________
. . .,
. .
,
,
________
. .
,
,
. .
________
,
,
2018
2018 .
«
»
___________
«2»
. .
,
2018 .
:
:
14-13
: 09.03.02 «
»
:
Unity
: 4896/
:
«
,
. .
05.04.2018 .
. . .,
»
:
:
,
,
,
:
,
Microsoft Office PowerPoint 2013
____________
. .
____________
. .
«2»
2018 .
«
50
Unity»
, 48
, 19
.
,
, UNITY,
MONODEVELOP,
IO
,
C#, ADOBE ILLUSTRATOR,
,
,
MULTIPLAYER.
—
Unity.
:

;

;

;

;

.
-
Unity.
2
.................................................................................................................. 5
2
........................................................................................................ 6
2.1
................................................. 6
2.1.1 MMORPG ................................................................................................. 6
2.1.2 MMORTS.................................................................................................. 6
2.1.3 MMOFPS .................................................................................................. 7
2.1.4 MMORG ................................................................................................... 7
2.1.5 MOBA ....................................................................................................... 7
2.1.6 IO ............................................................................................................... 8
2.1.7
........................................................................................................... 9
2.2
.......................................................................... 10
2.2.1 Unity ........................................................................................................ 10
2.2.2 MonoDevelop .......................................................................................... 12
2.2.3
C#................................................................. 13
2.2.3.1
....................................................................... 13
2.2.2.2
C#
Unity ................................................. 14
2.2.4 Adobe Illustrator ..................................................................................... 16
3
....................................................................................... 18
3.1
.................................................................................. 18
3.2
.......................................................................................... 20
2D
3.3
Unity ................................................................. 23
3.3.1
Unity ......................................................................................... 23
2.2.3
........................................... 29
3.4
.................................................................................. 33
3.5
........................................................................................ 37
3.5.1
...................................................................................................... 37
3.5.2
.................................................................................................... 39
3.5.3
................................................................................................... 43
3
3.5.4
................................................................................................... 45
3.5.5
..................................................................................................... 46
......................................................................................................... 48
............................................... 49
4
.
2017
.
$106,6
2,2
. [1]
,
.
IO.
.
,
IO
.
,
,
:
Unity.
:

;

;

;

;
.

5
2
я
2.1
я
–
,
. [2]
2.1.1
MMORPG
–
MMORPG (massively multiplayer online role-playing game)
.
,
.
,
(
),
.
(
)
,
.
World Of Warcraft(WOW)
2.1.2
MMORTS
–
MMORTS (Massively multiplayer online real time strategy) –
,
,
.
,
,
.
,
:
6
,
.
Age of Emperies Online.
2.1.3 MMOFPS —
MMOFPS (Massively multiplayer online first-person shooter) –
(
. shooter — «
»).
(
),
,
.
Counter-Strike.
2.1.4
MMORG
–
,
,
.
2.1.5 MOBA –
MOBA (Multiplayer Online Battle Arena) –
.
MMORPG)
MMORPG,
MOBA
,
World Of Warcraft.
,
30
Dota 2
(
1
.
League Of Legends.
7
,
2.1.6 IO
–
IO-
,
,
.
.io (
-
),
,
IO
IO
agar.io
diep.io.
IO
,
,
. IO
–
,
.
IO
IO
.
1 – Brofist.io
8
.
1
2
– Brofist.io
Diep.io
2 – Diep.io
:

;

;

.
2.1.7
.
,
IO
–
.
.
9
2.2
2.2.1 Unity
Unity —
-
ё
,
Windows
OS X.
,
: Windows, OS X, Android, Apple iOS, Linux,
Wii, PlayStation 3
,
XBox 360.
,
Unity Web Player.
,
3D
DirectX
3
OpenGL. [4]
Unity3D.
3–
Unity
10
Unity3D
Project Window (
)
,
.
,
.
,
(
Hierarchy Window (
,
я)
,
(
UI
. .).
.
,
. .), 3D
(
)
,
.
(GameObject)
.
,
(parenting).
,
,
.
Toolbar (
)
,
,
Scene View (
,
,
.
)
.
Game View (
)
,
Inspector Window (
.
)
.
.
11
2.2.2 MonoDevelop
MonoDevelop
(IDE),
Unity. IDE
. [8]
,
MonoDevelop
:
;

;


/
;
;

(

,
);
(

,
,
);
Gtk#;


;
;


;

;

GUI,


;
Subversion
NUnit
;
Unit-
;
;

12

;
Microsoft Visual Studio

(
.NET Framework
Microsoft Windows). [5]
4
.
4–
MonoDevelop
я C#
2.2.3
я я
2.2.3.1
C# (
) —
.
-
1998—2001
Microsoft
13
Microsoft .NET Framework
ECMA-334
ISO/IEC 23270.
C#
C-
,
C++
,
Java.
,
(
),
,
,
ё
,
,
,
,
, LINQ,
,
XML.
—
Delphi,
Smalltalk —
C++, Java,
#,
,
,
,
, C#
C++
(
). [6]
,
,
,
,
2.2.3.2
C#
.
Unity
.
Unity
–
MonoBehaviour.
.
.
,
Create
.
Add Component.
,
Unity
:
MonoDevelop,
14
,
using UnityEngine;
using System.Collections;
public class MainPlayer : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
,
MonoBehaviour.
Update –
Unity.
,
.
,
,
.
,
.
,
.
,
,
.
Start –
Update,
,
,
.
,
.
,
15
.
2.2.4 Adobe Illustrator
Adobe Illustrator –
,
.
,
,
,
.
,
,
.
:
,
web-
,
,
.
Adobe Illustrator
.
я
/
ctrl+/ctrl-.
«
».
.
Adobe Illustrator
.
.
.
я
,
,
,
,
,
.
16
,
,
.
,
(
Illustrator
.)
,
.
.
«
»
,
.
5.
5–
Adobe Illustrator 2017
17
я
3
я
я
3.1
,
.
.
–
.
.
,
,
,
.
,
,
,
.
,
,
.
:
:
IO.
:
.
:
.
: 2D.
:
.
я:
.
:
,
.
:
,
–
18
.
:
:
/

;

.
я:
:

;
.

:
1

;

.
:

;
.

:
1


:
.
. /
;
1
;
.
:

.

:

;

.
:
4
4 –
:
–
;
3–
,
4–
;
19
2
2–
–
,
3;
1 –
–
.
:
.io.
: Unity.
я: C#.
,
,
,
,
.
3.2
,
,
.
2D

(Diep.io,

(Brofist.io,
3
:
2);
1);
.

,
X, Y, Z.
.
6
3D.
20
6 – 3D
Adobe Illustrator 2017,
,
.
,
,
,
.
,
,
2^n (64 64, 256 256
. .).
PNG,
.
Unity
,
,
Unity.
.
7
.
,
256 256
128 128, -
512 512 –
(1024 1024)
.
–
.
21
.
,
7–
.
.
,
.
8
–
.
8–
22
3.3
2D
3.3.1
Unity
Unity
UI. UI –
,
,
.
UI
.
.
UI
Unity
,
.
UI,
,
,
9
UI
Unity.
9 – UI Unity
Canvas.
Unity
Canvas.
23
,
anvas (
)
Canvas –
(
,
,
,
. .). Canvas
10.
10 – Canvas
.
Canvas
11.
Canvas
11 –
Canvas
24
Render Mode (
12) –
,
,
,
Canvas,
.
 Screen Space - Overlay –
.
.
 Screen Space – Camera –
.
Camera
,
Render Camera.
Canvas.
 World Space –
3D
UI
3D
.
12 – Render Mode
Canvas
(
,
,
Rect Transform (
(
13)
14).
25
).
Anchor Presets
13 – Rect Transform
14 – Anchor Presets
,
«
».
React Transform
–
Pivot
,
(
13).
,
Text.
,
.
Image.
.
26
,
Set Native Size
Image
.
,
Button.
Text.
.
,
Button
,
.
,
,
,
(On Click ()),
public.
(
Event Trigger).
,
Toggle.
.
Text,
Image.
,
.
Sider.
,
,
.
:
.
,
,
,
.
,
Scrollbar.
Slider,
,
-
Scrollbar
.
27
Dropdown.
.
.
Input
,
Field.
.
,
:

(
Placeholder);
 content type –
,
(
15).
,
,
Input Field (
. .);
.

,
,
;
(

Enter
15 – Content type
28
).
2
.
–
,
,
.
,
–
.
,
Panel.
UI.
,
Scroll View.
Scroll Rect.
:
,

;

;
 scrollbar,
.
3.3.2
: Menu
Main. Menu
. Main –
2
:
,
.
Scenes in build,
16 –
29
16.
.
),
Canvas (
(
Menu
17).
17 –
Canvas
18
Menu
canvas.
18 –
Canvas
Render mode –
Screen Space – Overlay.
.
.
Image
Sprites
(
30
19).
.
19 –
Sprites
Menu
:

;

Start,

Connect
;
;

.
UI
City), 2
(Start
Canvas: 2
Connect) (
20).
20 –
,
(Hello
anvas
Start
.
Connect
Illustrator,
Text –
.
31
City
,
Canvas.
Hello,
,
Start
21
Connect.
Menu.
21 –
Menu
Main.
22
:
22 –
Main
32
,
Buy,
2
,
23.
23 –
canvas
, Game –
GameBuy
,
,
Buy.
,
+
Game
.
GameBuy,
.
3.4
,
–
multiplayer.
.
IO
Unity
.
Unity.
33
Main
– Network.
Network
2
:
NetworkManager
NetworkManagerHUD.
NetworkManager
(
24).
24 –
offline
NetworkManager
online
Main.
.
,
NetworkManager
NetworkManagerHUD.
,
,
.
(
25 –
34
25)
PlayerPrefab –
.
NetworkIdentity,
ID
.
Network.
,
26.
26 –
,
,
.
Build.exe,
.
,
.
Network Start Position.
(
Spawn
27).
35
Spawn
27 –
Spawn
28
.
28 –
36
3.5
,
Unity
.
Unity,
.
.
.
–
,
.
,
,
,
,
.
.
3.5.1
Unity.
,
.
Network
.
GameObject –
,
,
29.
.
29 –
37
–
,
.
Connect. Start –
Start
, Connect –
:
(

30);

(

31);
(
Spawn
32).
30 –
31 –
38
.
32 –
Spawn
3.5.2
.
Start
,
+–
.
MainMenu
MenuControls.cs,
,
33:
33 –
.
,
+,
Start
34.
39
34 –
,
.
Main Menu.
MenuControls
PlayPressed() (
35).
35 –
main.
(
ButtonController
40
36):
36 –
.
GameObject
.
37 –
ShowBuy,
38.
38 –
41
37
,
Game (
(
.
+
39)
GameBuy
40).
39 –
Game
40 –
GameBuy
42
,
.
3.5.3
.
,
(
).
,
,
.
Timer
41.
41 –
Timer
43
GameObject
,
Timer Text:
Text
(
42).
42 –
Timer Text
5,
GameOver (
,
43).
43 –
GameOver
44
3.5.4
,
44.
44 –
UI
+
,
,
-,
(
45).
45 –
+
45
-
3.5.5
я
,
8
,
Build’
(
.
46)
46 –
Box Collider (
47)
47 – Box Collider
46
(
48).
48 –
.
,
,
.
,
,
.
47
,
.
6
: MMORPG, MMORTS, MMOFPS,
IO,
MMORG, MOBA
,
ё
,
,
.
,
.
,
Unity. Unity
C#
.
IO. IO
2D
–
.
Adobe Illustrator 2017,
Unity.
MonoDevelop
Unity,
,
,
.
–
.
,
,
:

;

;


;
;
.

48
,
[
1.
]. //
. –
: http://www.profile.ru/economics/item/117304-gejmer-platit-zavse (
: 05.12.2017).
[
2.
–
]. // Wikipedia.
https://ru.wikipedia.org/wiki/ (
: 05.12.2017).
[
3.
–
:
]. // TOP MMO GAMES.
(
http://tmmog.ru/zhanry-onlajjn-igr/
:
05.12.2017).
Unity (
4.
) [
:
]. // Wikipedia. –
https://ru.wikipedia.org/wiki/Unity
(
:
05.12.2017).
[
5.
Studfiles. –
]. //
: https://studfiles.net/preview/3021970/page:2/ (
: 20.05.2018).
6.
C Sharp [
]. // Wikipedia. –
https://ru.wikipedia.org/wiki/C_Sharp (
:
]. //
.–
http://memoirs.ru/other/page2/adobe/programma-adobe-
illustrator.htm (
8.
: 05.12.2017).
Adobe Illustrator [
7.
:
: 24.05.2018).
MonoDevelop [
]. // Unity | Documentation. –
: https://docs.unity3d.com/ru/current/Manual/MonoDevelop.html
(
: 20.05.2018).
9.
777 [
]. //
.–
:
https://www.hse.ru/data/2013/06/03/1285529298/
: 06.03.2018).
49
777.docx
(
10.
Unity User Manual (2018.1) [
Documentation. –
(
]. // Unity |
: https://docs.unity3d.com/Manual/index.html
: 12.03.2018).
«Starter»
11.
Unity 3D [
]. // ITVDN |
–
.
https://itvdn.com/ru/video/unity-3d (
12.
: 20.03.2018).
Unity C# [
]. // itProger. –
https://itproger.com/course/unity-csharp (
13.
:
: 15.04.2018).
2D Unity [
]. // itProger. –
https://itproger.com/course/2d-unity-game (
]. // habr. –
:
: 01.05.2018).
:
14.
(
:
[
: https://habr.com/company/miip/blog/308286/
: 19.05.2018).
:
15.
[
]. // vc.ru. –
https://vc.ru/10495-gamedev-challenges (
: 18.04.2018).
Unity 3D [
16.
:
]. // allbest. –
:
https://knowledge.allbest.ru/programming/3c0b65635a2bc69b5c53a89521316c37.
html (
: 01.06.2018).
[
17.
:
]. // GameDev. –
https://gamedev.ru/flame/forum/?id=185009
(
:
03.06.2018).
18.
IO-
–
[
].
//
–
gkh11.
:
https://www.gkh11.ru/news/io_igry_luchshij_zhanr_dlja_nachinajushhego_razrabo
tchika/2016-12-07-2107 (
: 03.05.2018).
4.2-07-2014
19.
.
,
.–
. 9.01.2014. –
:
50
, 2014. – 60 .
Download