Unity 5 Tutorial: Memory Game
In this Unity Video Course you will learn how to create your own Memory Game or Matching Game using the Unity Game Engine & Inkscape for the Grafics. For the functionality we write C# Code in Monodevelop.
You will learn the basics how you can create the cards on your own using Inkscape. You can also use any other software.
You will learn to create a new 2D Project in Unity and setup everything needed
I will show you how you can setup the playfield and organize it using the Canvas System which requires Unity 4.6+
We will put in functionality with scripts using Monodevelop and C# (you can also use Visual Studio)
Also we implement a Timer, Score, Turns and a Combo System for more User Experience
As a result of this course you should be able to create your own level with different sizes and cards for your Memory Game.
In the end of this course you will have a fully functional Memory 2D Game.
After you have created nice Menus, Buttons, and maybe additional content, upload the Game to any Gaming Website, Google Playstore, Apple Store or even Windows Store or Steam.
So what are you waiting for?
Let’s make your dream game a reality!!
Video Course Length: ~3hours
Unity Version required: 4.6+
Welcome to the Introduction. There is an Intro and Outro because the video is free at Youtube as well.
Design & Layout
In this part you'll get the basic knowledge in how to create the cards you gonna use in the game. I show you a way to do this using Inkscape so make sure you download it. It's free.
Of course you can use Gimp, Photoshop, Illustrator or any other grafics program.
In this part we create a new Project.
We create the Playfield in the Canvas.
We create the Folder Strukture.
We start coding the Card Script in C#.
Programming the Systems
We start to write the Card Manager in C#. Means we fill the playfield and shuffle the cards.
In this part we create the flipping for the cards, when we click on them.
Also we compare the cards in the CardManager and make the game playable already.
In this last part we create the timer functionality.
We add the score and turns and combo system.
In this part we'll create a star particle, and set up almost everything for the Particle Effect.
In this part we finalize the Particle System Setup and make use of the System.
Extras - Requests of Students
In this Part i will show you, how to hide the cards after a positive match. Also i show you 2 ways which are not working properly.