How to make the memory game project?
I don't know how to make the memory game project in documentation. It's documentation has not exact explain and video. How to make the memory game in Unreal Engine 4?
asked Nov 05 '15 at 01:00 PM in Blueprint Scripting
Hi man , we need a more precise question :P otherwise:
you have to build up a CardActor, give him an animationFlip on click and a variable to know if is flipped and wich card is. make your cards customization in the project. card A card B card C wth their variable is flipped and Type. Make another actorBOSS , make him spawn N card, one every 0.5 seconds. Make the card move from the spawn point to their right point in a grid. When all the card are placed, lets start the game. Now you can click the cards. the BOSS count your cards, he let click you 2 cards and send her a "Event , Flip yourself" and wait. The boss dont make you click again until the end. Now the Boss access to the cards you choosed and read the Type. Compare theme and if their are same type. He move them away and give you some points. If are not the same, he send the "Event flip yourself" again , and wait that they are turned. He check if there are cards left in the game. if not, he Print on the scrin your score. move all the cards away. destroy all , and restart from the begin.
If there are cards left, and your cards was different. he end your turn. otherwise he let you choose other 2 cards.
answered Nov 05 '15 at 04:40 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here