🎮

Getting Started with 2D Game Design in Unity

Aug 10, 2024

2D Game Design in Unity Series

Introduction

  • Welcome to the series on 2D game design in Unity.
  • Focus on building a 2D platformer-style game using Unity and C#.
  • Unity can create games for various platforms:
    • Desktop (Mac and Windows)
    • Mobile (Android and iOS)
    • Consoles
  • Free version available (Personal Edition) for revenues < $100,000.

Getting Started with Unity

  1. Download and Install Unity
    • Visit unity.com
    • Click on "Get Started"
    • Select "Individual" for the free version (Personal Edition).
  2. Unity Hub
    • Unity Hub is required to install Unity.
    • It allows browsing and managing projects.
    • Download and install Unity Hub.

Installing Unity

  • Installing Unity Versions
    • Open Unity Hub after installation.
    • Click on the "Installs" tab.
    • If new, click on "Add" to install a Unity version.
    • Recommended to select the latest official release.
    • Choose build support options based on target platform (Mac, Windows, etc.).

Creating a New Project

  1. Starting a Project
    • Select the "Projects" tab in Unity Hub.
    • Click on "New" to create a project.
    • Choose between 2D or 3D; select 2D for this series.
    • Name the project and select a save folder.
    • Click "Create" to start the project.

Unity Editor Overview

  • The Unity editor consists of several panels:
    • Hierarchy Panel: Lists assets in the current scene.
    • Project Panel: Contains all assets for the project (scenes, graphics, scripts, etc.).
    • Scene Panel: Where the game is designed (drag and drop assets).
    • Game Panel: Previews what the game looks like when running.
    • Inspector Panel: Shows properties of selected assets in the scene.

Toolbar Tools

  • View Tool: Move around the scene.
  • Move Tool: Move selected assets.
  • Rotation Tool: Rotate assets.
  • Scale Tool: Resize assets.

Layout Management

  • Panels can be resized and rearranged.
  • If needed, reset layouts via "Window" -> "Layouts" -> "Reset All Layouts".

Summary

  • This session covered downloading, installing Unity, and an overview of the Unity editor.
  • Next session: Setting up a scene in a game.