Use as a starting point the 2D memory game that was developed in Chapter 5 of the Unity in Action course text (CH05_2022_update.unitypackage) and make the following modifications:
- Allow player to change grid sizes in-game, in addition to the base 2×3 (two rows, three columns) grid together with 2×4, 2×5, 3×4, 4×4, and 4×5 grids. Adjust the size of your cards appropriately! Include user interface elements (drop down, slider, buttons, etc) to allow players to select grid size. Do not change grid size by using Unity inspector or code changes, which won’t be accessible players (think like a game designer!).
- For the card “fronts” pick random images (in pairs) chosen from a collection of 52 images (use only public domain images or your own pictures). For example, if you have a 4×5 grid then your cards should select 20/2=10 distinct images from the library of 52. Each consecutive game should select a different set of images.
- Implement an animation such that when two cards match they shake (quiver) for a short amount of time (maybe ½ second) and then disappear in a puff of smoke.
- When the player wins the game (all matches are completed) a suitable image is displayed for a short amount of time and then a “Start Game” button and an “End Game” button appears that quits the application (this will work only when you build the game). Include the build in your submission and use it to demo to the TA so you can show that “End Game” quits the application.
Expanded grid sizes controlled by in-game UI 3/3 points
Custom card front images 2/2 points
Card quiver and smoke on disappear 2/2 points
“Game Over” UI with start and end buttons 3/3 points
本网站支持 Alipay WeChatPay PayPal等支付方式
E-mail: firstname.lastname@example.org 微信号:vipnxx