Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Unity C# 2d- Memory Matching Game
Rating: 4.1 out of 5(35 ratings)
12,988 students

Unity C# 2d- Memory Matching Game

In this course you are going to learn how to make a game using unity .the game is called Memory Matching Game
Created byKannan K
Last updated 8/2020
English
English [Auto],

What you'll learn

  • Learn C#, a modern versatile programming language.
  • Gain an understanding of the game development process.
  • Learn how object oriented programming works in practice.

Course content

1 section8 lectures1h 12m total length
  • Setting up the folder structure and project requirements6:22

    Set up the folder structure for a Unity 2D memory matching game, including images, scripts, and prefabs, then configure the game scene, canvas, and orthographic camera with a 1920x1080 reference.

  • Creating a grid layout and Ui system7:19

    Set up a grid layout and UI system for a Unity 2D memory matching game, including a game UI screen with restart and timer, and spacing to fit screens.

  • which camera projection setting you will choose for 2d games?
  • Add memory cells and assign interactions10:06

    Create a Unity memory game by adding a game controller script, wiring interactions to card prefabs, handling click events, naming cards, and logging each card clicked to drive gameplay.

  • Assigning the sprite to cells9:48

    Assign sprites to cells in a unity memory game by using a public sprite list, mapping images to cards, and revealing images on user clicks.

  • Setting up the gameplay system5:40

    Set up the core gameplay system for a Unity C# memory matching game by implementing a two-click verification using boolean flags and disabling inputs to ensure valid matches.

  • Verifying the game logic13:35

    Explore how to verify memory-match game logic in Unity by storing selected sprite names and checking for matches. Learn how matched and not matched states update game and trigger win.

  • Randomizing the sprite image at cells5:46

    Learn to randomize the sprite images across cells by building a list of images, generating random indices, and reshuffling each play to vary the game and increase difficulty.

  • Wrapping up the game with timer,game over and restart systems14:11

    Wrap up your Unity C# 2d memory matching game with a timer, game over, and restart system. Learn to manage game flow using a scene manager and update logic.

Requirements

  • Mac or PC capable of running Unity 3D
  • A copy of Unity 5.3 available for free from unity

Description

Learn Unity by Building Fun 2D Games

Requirements:

Unity Personal Edition and Visual Studio (or any compatible code editor)

Basic knowledge of Unity & C# is helpful, but not mandatory

About This Course
Do you dream of creating your own video games but don’t know where to start? This course is designed for complete beginners who want to learn Unity and C# by actually building games. Instead of overwhelming you with complex theory, we’ll dive straight into hands-on projects where you’ll create small, simple, and fun games step by step.

By the end of this course, you’ll have your very first fully playable 2D game built entirely from scratch. You’ll not only understand the basics of Unity and scripting, but also gain confidence to start designing and coding games on your own.

Why Take This Course?

Learn by doing: build games while you study.

Get practical, real-world experience with Unity and C#.

Understand how to structure a complete 2D game project.

Gain the skills to continue creating bigger and better games.

What You’ll Learn:
How to set up a complete 2D environment in Unity
Writing scripts in C# to detect objects and trigger events
Creating a randomization system for dynamic gameplay
Managing and tracking the game state internally
Designing clean and functional UI layouts
Developing unique logic and gameplay flow according to your game concept

Who Is This Course For?

Beginners who want to start game development without prior experience

Students curious about Unity and C# programming

Anyone who loves games and wants to create their own projects

Start your journey into game development today—design, code, and play your own creations while having fun learning Unity!

Who this course is for:

  • Developers who want to re-skill across to game development.
  • Anyone who wants to make their own 2D game.
  • People interested in working in the game design industy.