- Home /
Memory look a like game
Hi everybody,
I'm trying to make a memory game look a like. I'm fairly new to Unity and found some tutorials online on how to create a memory game but it is not really what I need.
The idea is that you have two different looking cards that belong to each other. In my case it would be an explanation card and a visual card. Most of the tutorials I find online only work with having two of the same cards (like 2 ace of spades for example.) I added an example of one of the question cards and the visual card.
Can anybody help me out with this?
Thanks in advance :D
Max
ps. This is a tutorial that doesn't work with my idea: https://www.youtube.com/watch?v=prfzIpNhQMM&list=PLbCx65TBvT-RHOTE_Lt7iTAev-4Bf84Fu∈dex=5
Answer by Casiell · Nov 28, 2019 at 09:25 AM
I must admit I skimmed through the tutorial, but from what I've saw each card has a Card class with a value field. In a code that checks if those cards are the same, only values are compared. There is nothing preventing you from assigning different sprites and the same values, which is exactly what you want
Edit: Also a good way to start with any task is to follow a tutorial that gives you roughly what you want (in your case this tutorial is perfect) and then tinker and modify your working example to achieve your desired result. You will learn more during that "modification phase" than the tutorial part, trust me
You're right! I will try this technique. It will probably help me out a lot already.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Change from 3D to 2D 1 Answer
How can i change this c# script from 3D to 2D ? 0 Answers
How can an UI Element know on which 3D Object it is pointing? 1 Answer
Multiple Cars not working 1 Answer