< Return to Video

Unity 2D Development

  • 0:05 - 0:09
    For several years now, we've seen some fantastic 2D games created in Unity
  • 0:09 - 0:12
    We didn't always make life easy for those making 2D games
  • 0:12 - 0:14
    but they've kept coming all the same
  • 0:14 - 0:19
    and we've seen some amazing porducts appear on our asset store to help users making 2D games
  • 0:20 - 0:22
    We know everyone wants to make the game they want in Unity
  • 0:22 - 0:26
    and if that's a 2D title, we believe they should have the tools that they need out of the box
  • 0:26 - 0:28
    which includes our Free version
  • 0:28 - 0:31
    That's why we've been working on native 2D tools for Unity
  • 0:32 - 0:34
    We've added support for Sprites
  • 0:34 - 0:36
    2D default behaviour for the Scene view and Importer
  • 0:36 - 0:38
    a complete 2D physics engine
  • 0:38 - 0:42
    plus many optimisations and adjustments to existing Unity workflows
  • 0:42 - 0:44
    to make them more appropriate for 2D game development
  • 0:44 - 0:48
    And because these tools are built on top of the Unity you already know and love
  • 0:48 - 0:50
    you can mix 2D and 3D with ease
  • 0:50 - 0:52
    As a preview of these tools
  • 0:52 - 0:56
    we're releasing a demo project for beta users that shows off the new tools and workflows
  • 0:56 - 0:57
    Let's take a look at it now
  • 0:58 - 1:01
    This platform shooter is completely built with the new 2D tools
  • 1:02 - 1:05
    To start out with we've added Sprites as an importer type in Unity
  • 1:05 - 1:06
    and created automatic slicing
  • 1:06 - 1:09
    so whether you're bringing in an individual sprite
  • 1:09 - 1:12
    or a sheet of many, you'll have no problems
  • 1:12 - 1:14
    Once your sprites are created
  • 1:14 - 1:18
    you'll see them inside the project window as a Hierarchy
    with the individual elements beneath it
  • 1:20 - 1:23
    From here you can simply drag and drop these sprites into the scene
  • 1:23 - 1:26
    to automatically create your clip and animator controller
  • 1:28 - 1:32
    and right away you have a working animated sprite to add to your game
  • 1:33 - 1:37
    Our characters are created from a number of sprites which are arranged in the Scene
  • 1:37 - 1:40
    and animated in the newly upgraded Animation window
  • 1:40 - 1:43
    We've added Dopesheet functionality to the Timeline
  • 1:43 - 1:48
    and a number of other tweaks to the UI to make it easier than ever to animate properties
  • 1:48 - 1:51
    Once animated, the character is then driven by the Animator
  • 1:51 - 1:54
    which stores all of our animation states
  • 1:54 - 1:59
    and lets us easily Trigger these animations with the new trigger parameter, from code
  • 2:00 - 2:05
    Our Scene view shows us a pure 2D view of the scene with this new toggle
  • 2:05 - 2:09
    and to ease sorting of 2D graphics, we've added Sorting Layers to Unity
  • 2:09 - 2:13
    These live with the existing Tags and Layers, and can be ordered here in the Inspector
  • 2:13 - 2:17
    We then apply them to the Renderer of an object, and hey presto its sorted
  • 2:17 - 2:21
    To make life even easier, we've added support for locking of these layers
  • 2:21 - 2:24
    so that when working on foreground elements
  • 2:24 - 2:26
    users won't accidentally drag background elements by mistake
  • 2:27 - 2:31
    In our game, everything is controlled by physics via a new Box2D implementation
  • 2:32 - 2:36
    We have 2D equivalents of Rigidbodies, Colliders, Joints and Physics Materials
  • 2:33 - 2:33
  • 2:36 - 2:40
    all control of the characters and effects work with these
  • 2:40 - 2:42
    so we can have as much mayhem as we like
  • 2:42 - 2:44
    We'll be adding even more to the 2D tools in Unity
  • 2:44 - 2:46
    we have some cool stuff in store
  • 2:46 - 2:50
    we can't wait to see the awesome games you're going to creat with this new toolset
Title:
Unity 2D Development
Description:

more » « less
Duration:
02:56

English subtitles

Revisions