unreal engine vs unity engine (rus)

35
ВЫСШАЯ ШКОЛА ПРЕДПРИНИМАТЕЛЬСТВА МАЙНОР Специальность инфотехнология Алексей Дмитриев AINETOO “Сравнение игровой платформы Unity с UDKРуководитель: Владимир Томберг, PhD Таллин 2015

Upload: aleksei-dmitrijev

Post on 27-Sep-2015

140 views

Category:

Documents


0 download

DESCRIPTION

My university project.

TRANSCRIPT

  • AINETOO

    Unity UDK

    : , PhD

    2015

  • ............................................................................................................................... 4

    1. .................................................................................................. 5

    1.1 . ............................................................................................... 5

    2. UNITY ENGINE 5.0 UNREAL ENGINE 4 ...................................................................... 6

    2.1 Unity .................................................................................................................. 8

    3. UNITY UNREAL................................................................................. 9

    3.1 Unity ................................................................................................................. 9

    3.1.1 .................................................................................................. 9

    3.1.2 ............................................................................................................. 10

    3.1.3 ..................................................................................................................... 11

    3.1.4 ................................................................................................................... 11

    3.1.5 .................................................................................................. 12

    3.2 Unreal ............................................................................................................. 13

    3.2.1 ................................................................................................ 13

    3.2.2 /.......................................................................................................... 14

    3.2.3 ..................................................................................................................... 14

    3.2.4 .......................................................................................................... 15

    3.2.5 ....................................................................................................................... 15

    3.3 Unity ...................................................................................... 16

    3.4 ................................................................................ 16

    3.5 .................................................................................................... 17

    3.5.1 UnityScript ................................................................................................................... 18

    3.5.2 C# ................................................................................................................................. 18

    3.5.3 BooScript ..................................................................................................................... 19

    3.5.4 ............................................................................................................. 19

    3.5.5 .......................................................................................................... 20

    4. .................................................................................................... 22

    4.1 Unity Unreal ........................................................ 23

    4.2 Unity Unreal .......................................................... 24

    4.3 Unity Engine Unreal Engine .......................................... 25

    5. ................................................................................................................... 26

  • 6. ................................................................ 28

    1. ..................................................................................................................... 29

    2. ..................................................................................................................... 30

    3. ..................................................................................................................... 31

    4. ..................................................................................................................... 32

    5. ..................................................................................................................... 33

    6. ..................................................................................................................... 34

    7. ..................................................................................................................... 35

  • 4

    .

    , ,

    .

    , , .

    .

    . Call of Duty: Ghosts

    1 . , GTA V

    800 .

    2- . , Call of Duty: Black Ops 500 .

    . ,

    , .

    ,

    (game engine). Unity

    engine UDK (Unreal development kit).

    Unity 5.0

    Unreal engine 4.0.

    , ,

    .

  • Ainetoo

    5

    1.0

    1.1 .

    ,

    :

    Unreal Engine 4

    Epic games,

    : Android, iOS, HTML5, Linux, Mac, Oculus, PC, PS3-4, SteamOS,

    Xbox, Windows phone.

    Unreal Engine 4

    , 19$ , - 5%

    Epic. -

    GitHuba.

    .

    : Batman Arkham Asylum, Gears of War, Borderlands

    .

    Unity

    Unity Technologies,

    : Android, BlackBerry, iOS, Linux, Mac, PS3, PS4,

    Xbox 360, Xbox One, Windows phone, Wii U.

    Unity 2D , 3D.

    C#, JavaScript, -

    BooScript ( Unity Technologies).

    Xbox Wii u. BooScript

    , C#/JS .

    CryEngine

    Crytek,

    : Android, iOS, PC, PS3, PS4, Xbox 360, Xbox One, Wii U

    CryEngine ,

    . $10 .

  • Ainetoo

    6

    2.0 UNITY ENGINE 5.0 UNREAL ENGINE 4

    Unity (- Unity3D)

    (IDE) ,

    . Unity Technologies David Helgason.

    Unity ,

    , , ,

    Unity

    .

    Unity (1.0.0) : David Helgason, Joachim Ante

    Nicholas Francis. 6 , 2005

    .

    .

    , : ,

    drag-and-drop . Unity

    Mac OS X,

    . (5.0.1) Linux,

    Windows, Mac OS, (Android, iOS, BlackBerry, Windows

    8,10) (PS3,PS4,Xbox one, Xbox 360, WiiU). -

    , Unity web-player.

    64- , Unity 32-

    . Unity ,

    Unreal (.

    5).

    Unreal engine 1998 , Epic

    Games.

    Unreal. 4 Unreal engine. Unity

    Unreal . Unreal

    ,

  • Ainetoo

    7

    ,

    (: Steam, UPlay), .

    (. 5)

    :

    1) 1, ,

    , ,

    , .

    , ,

    1998 .

    2)

    .

    . Karma physics,

    .

    PS2, Xbox, GameCube .

    3) ,

    (DirectX 9/10 OpenGL 2/3),

    (PlayStation 3 Xbox 360).

    -

    ( )

    . Karma

    PhysX AEGIA. -

    Ambient occlusion, .

    4) 4- Unreal 3.5,

    , , ,

    $3000 .

  • Ainetoo

    8

    2.1 Unity

    Unity 3.0 (2011 ),

    . 17

    , Unity3D.

    ,

    . - .

    2015 ,

    2011 , , Unity

    .

  • Ainetoo

    9

    3.0. UNITY UNREAL

    3.1 Unity

    Unity .

    (Project Browser), (Inspector),

    (Game view), (Scene view) (Hierarchy).

    3.1.1

    (assets)

    Unity .

    Finder Mac OS X Explorer Windows.

    , (. 1)

    .

    ( 1 Project browser)

  • Ainetoo

    10

    3.1.2

    .

    . -

    (: ,

    , , ). (. 2)

    .

    ( 2 Inspector)

  • Ainetoo

    11

    3.1.3

    (. 3)

    , ,

    .

    ( 3 )

    3.1.4

    (. 4) .

    .

    , 3D - 2D

    .

    ( 4 )

  • Ainetoo

    12

    3.1.5

    (. 5),

    .

    . ,

    .

    ( 5 )

  • Ainetoo

    13

    3.2 Unreal

    UDK .

    5 UDK. :

    (Toolbar), / (View port), (Details),

    (Content browser), (Modes). Unreal

    development kit Unity , . (.

    6)

    ( 6 UDK Unity)

    3.2.1

    Unreal engine

    Unreal.

    . (. 7)

    ( 7 - )

  • Ainetoo

    14

    3.2.2 /

    / (. 8)

    . Real-time

    ,

    .

    ,

    .

    Unity.

    ( 8 /)

    3.2.3

    Unity ,

    ,

    . (. 6)

  • Ainetoo

    15

    3.2.4

    , , ,

    Unreal.

    , .

    , , , .

    . (. 9)

    ( 9 )

    3.2.5

    ; Place,

    Mesh paint, Landscape, Foliage, Geometry editing.

    ()

    .

    ( 10 )

  • Ainetoo

    16

    3.3 Unity

    ,

    . :

    , ,

    . .

    (CAD).

    , 1/3 Unity

    .

    3.4

    Unity, ,

    ,

    , .

    , . Unity

    : , ,

    , -.

    Unity iOS, Android, BlackBerry, Windows Phone 8.

    Windows, Mac OS,

    Linux ( Ubuntu, , -

    ).

    32- 64- . Mac OS

    64- 64 , 32-

    32- . ,

    ; Unity Web Player, Google Native Client - Flash. Flash

    ( Unity 4.0).

    Unreal ,

    .

    Unreal Windows, Linux, Mac OS, Xbox 360, PS3, PS4, WiiU, Android, iOS,

    PS Vita, Web.

  • Ainetoo

    17

    3.5

    Unity

    : Unity JavaScript ( UnityScript), C#

    Boo.

    , .

    . Monodevelop,

    . Mono Microsoft .NET .

    .

    Unity

    , public.

    , .

    ,

    , , .

    :

    ( 6. John Haas)

    Unreal C++,

    (Blueprint) (. 7).

    C++,

    , ..

    ,

  • Ainetoo

    18

    . .

    .

    3.5.1 UnityScript

    UnityScript Javascript,

    .

    UnityScript, UnityScript

    . Unity Unity.

    , JavaScript,

    Javascript Unity,

    .

    3.5.2 C#

    UnityScript ,

    C#, C#

    . -

    .

    ,

    .

  • Ainetoo

    19

    3.5.3 BooScript

    BooScript Python,

    UnityScript (JavaScript).

    ,

    .

    3.5.4

    3- ,

    :

    C#:

    using UnityEngine;

    using System.Collections;

    public class ExampleSyntax : MonoBehaviour

    {

    int myInt = 5;

    int MyFunction (int number)

    {

    int ret = myInt * number;

    return ret;

    }

    }

    UnityScript (JS):

    #pragma strict

    var myInt : int = 5;

    function MyFunction (number : int) : int

    {

    var ret = myInt * number;

    return ret;

    }

    Boo:

    import UnityEngine

    import System.Collections

    public class ExampleSyntax(MonoBehaviour):

    private myInt = 5

    private def MyFunction(number as int) as int:

    ret as int = (myInt * number)

    return ret

  • Ainetoo

    20

    3.5.5

    Unity C# Unreal C++,

    .

    Unity C#

    using UnityEngine;

    using System.Collections;

    public class MyComponent : MonoBehaviour

    {

    int Count;

    // Use this for initialization.

    void Start ()

    {

    Count = 0;

    }

    // Update is called once per frame.

    void Update ()

    {

    Count = Count + 1;

    Debug.Log(Count);

    }

    }

  • Ainetoo

    21

    Unreal C++

    #pragma once

    #include "GameFramework/Actor.h"

    #include "MyActor.generated.h"

    UCLASS()

    class AMyActor : public AActor

    {

    GENERATED_BODY()

    int Count;

    // Sets default values for this actor's properties.

    AMyActor()

    {

    // Allows Tick() to be called

    PrimaryActorTick.bCanEverTick = true;

    }

    // Called when the game starts or when spawned.

    void BeginPlay()

    {

    Super::BeginPlay();

    Count = 0;

    }

    // Called every frame.

    void Tick(float DeltaSeconds)

    {

    Super::Tick(DeltaSeconds);

    Count = Count + 1;

    GLog->Log(FString::FromInt(Count));

    }

    };

  • Ainetoo

    22

    4.0

    Unity,

    SourceEngine, CryEngine, AnarchyEngine, XNA

    Unreal engine (UDK). (Unreal)

    Epic games, :

    Android, iOS, HTML5, Linux, Mac, Oculus, PC, PS3-4, SteamOS, Xbox, Windows phone.

    ,

    . Unity 3D

    2D , Unity

    . :

  • Ainetoo

    23

    4.1 Unity Unreal (. 6)

    4.1.1 Unreal Engine

    Unreal Unity,

    Unity (. 1). .

    .

    . , .

    4.1.2 Unity Engine

    Unreal Development Kit (. 2).

    - 3D 2D,

    .

    . (

    Unity ). Unity

    . Unity .

    (. 4)

    ( 6)

  • Ainetoo

    24

    4.2 Unity Unreal (. 7)

    4.2.1 Unreal Engine

    Unreal engine

    (1500 USD).

    .

    .

    4.2.2 Unity Engine

    Unity UDK. ,

    . .

    ( 7)

  • Ainetoo

    25

    4.2.2 Unreal engine

    Unreal engine

    (1500 USD).

    .

    .

    4.3 Unity Engine Unreal

    Unity . (. 3)

    .

    ,

    Unity Technologies

    . Unity

    . ;

    - - UnityCloud - - - - - Unity Technologies - - - Asset Store 11 - Unity 5.0

    Unreal engine 4 3000 USD , (1500 USD) Epic games.

  • Ainetoo

    26

    5.0

    Unity, , Unreal, ,

    Unity ,

    3D 2D

    (. 4).

    . 2D,

    , ,

    , . Unreal

    / ,

    .

  • Ainetoo

    27

    6.0

    1. Jon Brodkin, 2014. [Online]

    http://slashdot.org/topic/cloud/how-unity3dbecome-a-game-development-beast

    2. David Helgason, 2005. [Online]

    http://forum.unity3d.com/threads/56-Unity-1-0-isshipping

    3. Ed Fear, 2009.

    http://www.develop-online.net/analysis/united-theystand/0116643

    4. Unity Technologies. "Effortlessly Unleash Your Game on the World's Hottest Platforms."

    http://unity3d.com/unity/multiplatform

    5. Unity Technologies. "C# VS JS VS BOO [Online]

    https://unity3d.com/learn/tutorials/modules/beginner/scripting/c-sharp-vs-javascript-syntax

    6. Unity Technologies. "Unity Scripting." 2015

    http://unity3d.com/unity/workflow/scripting

    7. Helgason, David. "Sunsetting Flash." Unity Technologies Blog. 2014.

    http://blogs.unity3d.com/2013/04/23/sunsetting-flash/

    8. Unity Technologies. "The Unity Editor." [Online]

    https://unity3d.com/unity/workflow/integrated-editor

    9. Unity Technologies. "UnityScript versus JavaScript." Unify Community 2015.

    http://wiki.unity3d.com/index.php/UnityScript_versus_JavaScript

    10. Unity Technologies. "Unity Scripting." 2015.

    http://unity3d.com/unity/workflow/scripting

    11. Unity Games. "About Us 2015.

    http://www.unitygames.com/about-us/

  • Ainetoo

    28

    12. OnlineDesignTeacher Blog. UDK or Unity [Online]

    http://onlinedesignteacher.blogspot.com/2014/03/udk-or-unity-which-is-better.html

    13. iTalk slideshow Unity vs UDK [Online]

    http://www.slideshare.net/ittalk/unity-udk-paforittalkwpresentersnoteswovideo

    14. Wikipedia article. Unity game engine 2015.

    http://en.wikipedia.org/wiki/Unity_%28game_engine%29

    15. Develop-online. United they stay [Online]

    http://www.develop-online.net/analysis/united-they-stand/0116643

    16. Unreal documentation. Code comparison

    https://docs.unrealengine.com/latest/INT/GettingStarted/FromUnity/index.html?utm_source=l

    auncher&utm_medium=ue&utm_campaign=uelearn

    17. Unreal documentation [Online]

    https://docs.unrealengine.com/latest/INT/index.html

    18. Unreal for Unity developers 2015.

    https://docs.unrealengine.com/latest/INT/GettingStarted/FromUnity/index.html?utm_source=l

    auncher&utm_medium=ue&utm_campaign=uelearn

    19. Wikipedia. Unreal engine

    http://en.wikipedia.org/wiki/Unreal_Engine

    20. Adrian HERWIG and Philip PAAR. Game Engines

    http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.134.75&rep=rep1&type=pdf

  • Ainetoo

    29

    7.0

    1. Unity Unreal

    ( Unity engine, Unreal engine)

  • Ainetoo

    30

    2. UI Unreal engine Unity Engine

  • Ainetoo

    31

    3. Unity Engine

  • Ainetoo

    32

    4. Unity engine

  • Ainetoo

    33

    5. Unreal Unity

  • Ainetoo

    34

    6. Unreal engine Details

  • Ainetoo

    35

    7. Unreal

    C++.