Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn to Code and Script a 2D Adventure Game with Unity
Rating: 3.9 out of 5(130 ratings)
1,136 students

Learn to Code and Script a 2D Adventure Game with Unity

Explore how to make a complex atmospheric and interactive adventure game using the Unity 2D tool-set!
Created by3dmotive LLC
Last updated 9/2016
English
English [Auto],

What you'll learn

  • Learn to import and configure 2D assets for an optimal workflow
  • Understand how to design and build a fully functional 2D Adventure game
  • Learn to code gameplay elements in C#

Course content

5 sections76 lectures5h 11m total length
  • Download Course Files Here!0:07
  • Introduction to the Course1:28

    Explore Unity 5 in this introductory course module to build a 2D adventure game using sprites, UI, physics, animations, moving platforms, hazards, and particle systems.

  • Game Overview5:56

    Discover how to build a complete 2d adventure game in Unity, from a quest-giving NPC and collecting a power stone to platforming, enemies, health tracking, and a final win.

  • Project Creation3:32

    Create a new Unity project, apply the default layout, and configure a fixed 10:24 by 600 resolution with the plus icon for consistent previews in the game tab.

  • Importing Asset Packages5:30

    Import native and custom asset packages in Unity, including standard assets, then explore particle systems and image effects to enhance the game scene.

  • Importing Custom Assets3:42

    Organize Unity projects by creating textures and audio folders in the project panel, then drag and drop assets from the model 0 1 folder to import textures and audio.

  • Texture Configuration4:26

    Configure textures for a 2D Unity game by setting them to UI sprites, then disable mip maps to preserve clarity; not power of two textures are fine for UI.

  • Pixel to World Conversions6:44

    Set the main camera in Unity to orthographic and tune size so 300 divided by 100 yields a true one-to-one pixel-to-world scale for 2D textures and backgrounds.

  • Sprite Editing5:46

    Learn to slice a texture into multiple sprites in Unity using the sprite editor, switching from single to multiple and naming parts for a character.

  • Atlas Texturing5:48

    Learn how atlas texturing reduces draw calls and boosts 2D Unity game performance by packing related textures into atlases for props and backgrounds.

  • Audio Configuration3:29

    Organize and optimize Unity audio assets by disabling preload data and setting load type to streaming for large tracks, preventing long loads and reducing memory usage for mobile.

  • Creating Materials4:02

    Create a new materials folder and add two utility materials: a flat black silhouette material for fades and silhouettes, and a low-friction physics material to fine-tune player movement.

  • Audio Mixers4:28

    Explore how to create a master audio mixer in Unity, assign music, sound effects, and ambience to separate channels, and achieve independent control and muting without affecting the master.

  • Player Settings2:43

    Explore player settings to set company and product names, registry keys, and persistent data paths. Enable the resolution dialog and use forward rendering with gamma color space.

  • Player Input2:57

    Explore the Unity input manager to customize and map input axes—horizontal, vertical, and jump—to keyboard and joystick controls, enabling device-agnostic player movement in your 2D adventure game.

  • Player Quality3:47

    Learn to access and adjust quality settings in Unity to optimize visuals and performance for each target device. Set platform defaults and disable shadows for 2D games to improve efficiency.

Requirements

  • Students will need Unity 5 or above

Description

Learn how to make interactive 2D adventure games in Unity 5! In this comprehensive course, instructor Alan Thorn demonstrates a wide range of 2D features and tools for making a 2D platform adventure. Targeted to intermediate users, see how to create a player character, functional physics, interactive characters and dangerous obstacles. Explore subjects, such as: sprites, player controls, character animation, balancing gameplay, collisions detection, and a questing system. In addition, see how to import and configure 2D assets optimally for 2D functionality and how to design and build complete levels that ooze atmosphere. There’s plenty to see and do in this fun course, and by the end you’ll have established a solid foundation both in making 2D games generally and in working smart to create your own adventure games in no time!

(Students - please look under Section 1 / Lecture 1 downloads for the source files associated with the lesson.)

More about the Instructor:

Alan Thorn is a game developer, author and educator with 15 years industry experience. He makes games for PC desktop, Mobile and VR. He founded 'Wax Lyrical Games' and created the award-winning game 'Baron Wittard: Nemesis of Ragnarok', working as designer, programmer and artist. He has written sixteen technical books on game development and presented ten video training courses, covering game-play programming, Unity development, and 3D modelling. He has worked in game development education as a visiting lecturer for the 'National Film and Television School', as a Lead Teacher for 'Uppingham School', and is currently a Senior Lecturer at 'Teesside University' where he helps students develop the skills needed for their ideal role in the games industry.

Who this course is for:

  • This course is intended for Indie Developers, Game Development Students, Hobbyists and Professionals seeking to improve their skillset
  • This course is not intended for absolute Unity Beginners