Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

C# and Unity by Example — 20+ Mini Game Development Projects

Packt via Coursera

Overview

This course offers a hands-on approach to mastering C# programming and Unity game development. It begins with a comprehensive introduction to Unity 2022 setup and the basics of C#, ensuring you have a strong foundation in both the language and the platform. Through a beginner-friendly guide, you will explore C# concepts such as variables, functions, loops, and conditional statements, as well as their application in Unity scripts. As you progress, you will engage in the development of over 20 mini-games and practical projects, ranging from simple object destruction to more complex mechanics like 2D shooter games, collision detection, and scoring systems. Each project builds on previous lessons, allowing you to apply what you've learned and steadily increase your expertise in both C# and Unity. The course also covers essential game development practices such as physics manipulation, user input detection, camera effects, and game over screens. By the end of this course, you will have a portfolio of mini-games showcasing your knowledge of C# and Unity, giving you practical skills to pursue a career in game development. Whether you're aiming to build your own games or contribute to larger projects, this course equips you with the tools to succeed. This course is ideal for beginners in game development, hobbyists, and aspiring indie developers. No prior experience with Unity or C# is required, but basic computer skills will help. By the end of the course, you will be comfortable with C# coding and creating functional Unity projects.

Syllabus

  • Introduction
    • In this module, we will provide an overview of the course and set up the Unity 2022 environment, ensuring you have everything ready to start your game development journey.
  • Absolute Beginner's Guide to C#
    • In this module, we will cover the basics of C# programming, focusing on essential concepts and structures necessary for developing scripts in Unity. You'll learn how to use variables, functions, and control flow to bring your games to life.
  • Project 1 - Destroying Objects with C# in Unity
    • In this module, we will create a simple project where you'll learn to destroy objects using C# scripts in Unity, building on your foundational C# knowledge and applying it in a real-world game development context.
  • Project 2 - Detecting Mouse Clicks with C# Practical Example
    • In this module, we will focus on detecting mouse inputs in Unity, allowing you to create interactive game mechanics that respond to player actions, such as clicking to destroy objects.
  • Project 3 - Detecting Keyboard inputs in C#
    • In this module, we will learn how to detect and respond to keyboard inputs using C#, enabling you to control game elements through player key presses effectively.
  • Project 4 - Moving Objects with Velocity in Unity
    • In this module, we will explore how to move objects using velocity in Unity, leveraging physics-based controls to create dynamic and realistic game mechanics.
  • Project 5 - Moving Objects with Keyboard Inputs
    • In this module, we will build on your knowledge of keyboard input detection by applying it to move objects within the game environment, enhancing player interaction and control.
  • Project 6 - Flipping Direction of Player with C# in Unity
    • In this module, we will learn how to flip the direction of a player character in Unity, using C# to create seamless and intuitive controls that enhance gameplay.
  • Project 7 – Detecting Collision and Destroying Objects in C#
    • In this module, we will focus on collision detection and response, teaching you how to create interactive and engaging gameplay by destroying objects upon impact.
  • Project 8 - Creating Scoring System with C# in Unity
    • In this module, we will create a scoring system that tracks player performance, allowing you to develop competitive gameplay experiences that reward player achievements.
  • Project 9 - Restarting Game Scene in Unity C#
    • In this module, we will learn how to restart the game scene using C#, enabling you to reset gameplay and provide players with a fresh start after each game session.
  • Project 10 - Delaying Function Calls in C#
    • In this module, we will explore how to delay function calls in Unity using C#, allowing you to create timed events and control the pacing of your game.
  • Project 11 - Change Camera Background Color Randomly with C#
    • In this module, we will learn how to change the camera background color randomly using C#, adding a dynamic visual element to your game.
  • Project 12 - Build a 2D Shooter Game with Unity and C#
    • In this module, we will guide you through the process of building a 2D shooter game in Unity, covering everything from player movement to enemy spawning and shooting mechanics.
  • Project 13 - Create Infinite Scrolling Background in C# and Unity
    • In this module, we will create an infinite scrolling background, using C# to add depth and motion to your game environment, making it feel more expansive and immersive.
  • Project 14 - Create Camera Shake Effect in Unity C#
    • In this module, we will learn how to create a camera shake effect using C#, adding a powerful visual feedback tool that heightens the intensity of gameplay moments.
  • Project 15 - Rotate Objects with Mouse in C#
    • In this module, we will teach you how to rotate objects with the mouse in Unity, creating interactive elements that respond to player input in real time.
  • Project 16 - Detect Button Clicks with C# Unity
    • In this module, we will focus on detecting button clicks with C#, enabling you to create interactive UI elements that trigger specific actions or events within your game.
  • Project 17 - Create Zoom In and Out Effect Using C#
    • In this module, we will explore how to create a zoom in and out effect using C#, giving you control over the camera to enhance gameplay immersion.
  • Project 18 - Build a 2D Runner Game in Unity
    • In this module, we will guide you through the creation of a 2D runner game, covering all aspects of game development, including character movement, obstacle spawning, and score tracking.
  • Project 19 - Build an Android Game with Unity
    • In this module, we will teach you how to build and deploy an Android game, focusing on mobile optimization and touch control integration.
  • Project 20 - Detect Touch Inputs Using C# Unity
    • In this module, we will learn how to detect touch inputs using C#, enabling you to create interactive mobile games that respond to player touches and gestures.
  • Project 21 - Detect Accelerometer Inputs in Unity with C#
    • In this module, we will explore how to use the accelerometer in Unity, allowing you to create motion-controlled gameplay by detecting device movements.
  • Project 22 - Destroy Objects with Touch Inputs
    • In this module, we will learn how to destroy objects using touch inputs, creating an engaging and interactive experience for mobile game players.
  • Project 23 - Detect Swipe Input in Unity with C#
    • In this module, we will focus on detecting and responding to swipe inputs, enabling you to create mobile games that feature smooth and intuitive swipe-based controls.

Taught by

Packt

Reviews

Start your review of C# and Unity by Example — 20+ Mini Game Development Projects

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.