This is an old revision of the document!
2D Game Basics
Tasks
Making a 2D memory game
Configure a 2D scene for running
Add to the scene an image that represents a board (table)
Add two images to the scene:
Script the displayed element so that the click will hide and the hidden one will be displayed
Collect 3 more images for the displayed items
Make a game controller (in the scene there must be pairs of elements - so there will be 4 pairs positioned randomly at each run)
dynamic change of the image depending on which to write the following
dynamic instantiation of a grid of 4 × 4 elements (the first is already instantiated)
random positioning of type elements for each element in the scene
maintaining the currently selected elements (max. 1 pair is selected)
the asynchronous run of the check whether the pair was selected correctly or not
maintain and display a score. The score increases when you discover two identical elements.
Add a restart game button