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

Coursera

Intermediate C# Scripting: Game Mechanics & Reusable Scripts

Packt via Coursera

Overview

Take your Unity development skills to the next level with this intermediate C# scripting course. You'll begin by exploring essential object-oriented programming (OOP) concepts like classes, objects, and inheritance, helping you build a solid foundation in clean and efficient coding. You'll also dive into core Unity-specific scripting techniques, learning how to initialize objects, manage properties, and utilize powerful constructs like enums and polymorphism to create flexible game components. In the following sections, you'll apply these concepts in real-world gaming scenarios. You'll develop reusable scripts that streamline gameplay, from managing player movement and object spawning to handling user interface elements like score and life counters. Throughout the course, you'll enhance your coding practices by learning about method overloading, coroutines, and the effective use of namespaces and attributes within Unity. By the end of the course, you'll have built a complete 2D game, while also creating scripts that can be reused across multiple projects. Whether it’s setting up sprites or coding game-over mechanics, this course ensures you develop a strong ability to structure and maintain code that simplifies future Unity development. This course is designed for intermediate Unity developers who already have a basic understanding of C# and want to advance their skills. Familiarity with Unity’s interface and foundational programming concepts is recommended before starting.

Syllabus

  • Intermediate Unity C# Scripting Concepts
    • In this module, we will delve deeper into essential C# concepts, including object-oriented programming principles like classes, inheritance, and polymorphism. You’ll also explore static variables, functions, namespaces, and coroutines to write more organized and efficient code.
  • Create a 2D Candy Catch Game - Start to Finish
    • In this module, we will guide you through the complete process of building a 2D Candy Catch game from start to finish. You will learn how to set up sprites, design player movement, and implement key game mechanics like scoring, lives, and candy spawning. By the end, you will have a fully functional game, complete with a menu and GameOver system.
  • Creating Useful C# Scripts Ready to Use in Your Projects
    • In this module, we will dive into practical applications of C# scripting to enhance game mechanics. You'll learn how to build reusable scripts for common game functions, including camera control, object interaction, and background effects. By the end of this section, you'll have a solid foundation for implementing and reusing these scripts in your own projects.

Taught by

Packt

Reviews

Start your review of Intermediate C# Scripting: Game Mechanics & Reusable Scripts

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.