The goal of this workshop is to get participants up and running with Unity, focusing specifically on working with its suite of 2D features. As participants work through the activities, they will build a 2D game from the ground up, covering major subject areas including sprites, animation, game mechanics, and publishing.
The project in this workshop is a side-scrolling,endless-runner game that will run on mouse input. After the initial mouse click, the player will begin to run, and all subsequent mouse clicks will result in the player jumping. The goal of the game is to run to the end of the level while collecting as many objects as possible without falling off the platforms.
Learning Objectives and Outcomes
Learn how to navigate in the Unity Editor
● Identify the different Editor windows and their purposes
● Use common hotkeys and shortcuts to navigate in the Editor
● Configure a Unity Project for 2D development
Identify key features of the Unity 2D toolset
● Use the Sprite Editor to slice Sprite Sheets for use in the Scene
● Apply 2D colliders for Physics interactions
● Configure Prefabs for use throughout the Scene
Develop complex 2D parallaxing environments
● Use Tilemap to build multi-layered Sprite based Scenes
● Adjust Sprite Z-positioning to create a parallax effect
Create multiple types of in-editor animations
● Create sprite sheet animations
● Create keyframe animations
● Control multiple animation sequences with the Animator
Develop 2D game mechanics
● Use scripts to implement gameplay
● Configure a Cinemachine camera to create a follow camera
● Use multiple components to create an input based Player controller
● Build a simple UI to display gameplay behavior
Publish 2D games
● Publish the completed game for PC and Mac
● Publish the completed game for Android