![]() ![]() Remaining candies collapse, new candies get created to replace them which collapse, too (imagine gravity acting upon them). As soon as a vertical or horizontal match of three (or more!) is encountered, the matched candies disappear. When the swap happens, the game checks for a match. User can drag (in an attempt to swap) one candy either horizontally or vertically. Only external assets we’re using are some candy graphics (Public Domain, found on OpenGameArt here) and a very cool sound (found on FreeSound here) to build our game. Let’s start with a screenshot of the game running in the Unity Editor For debugging purposes, don’t forget to check the Visual Studio tools for Unity here. ![]() Game code was written in Visual Studio (check the free Community edition here). In this blog post, we’ll try to dissect in what is needed to build such a game, using Unity 3D, Visual Studio and the C# programming language. If the user creates a match that includes this bonus, then the whole row or column is destroyed. Such an example is giving a special item if she matches more than three items. From the original Bejeweled to Candy Crush Saga and even Evolve: Hunters Quest, many games are based on the match 3 mechanism while giving specialized bonuses to the user. Match three games are pretty famous these days. If you are in a hurry, you can try the game here and find the source code here. Please respect the copyrights/trademarks of others! This tutorial is meant for educational purposes only to showcase how to build certain types of games. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |