Skip to content

Template: Clash of Clans

Clash of Clans is a popular mobile strategy game developed and published by Supercell. It was first released for iOS devices in August 2012, followed by an Android release in October of the same year. The game has since become a worldwide phenomenon, with millions of active players across the globe.

In the game, players build and upgrade their village, train troops, and battle against other players to earn resources and increase their rank. The game's success is partly due to its addictive gameplay and regular updates, which keep players engaged and constantly improving their strategies.

Screenshot

Clash of Clans has received numerous awards and has been downloaded over 500 million times from the Google Play Store alone. It has also spawned a massive esports scene, with professional players and teams competing in tournaments for cash prizes.

Shop Template

Are you looking to create a shop system like Clash of Clans in your game? Look no further than Balancy. Our team has thoroughly analyzed and reconstructed the data used by Clash of Clans to create their shop system, and we've incorporated that knowledge into our platform. With Balancy, you can see how resources work and what formulas are used to determine their prices.

Screenshot

Although Clash of Clans offers various construction, heroes, and troops that players can purchase, our template focuses solely on resources. However, with Balancy, you can quickly expand your shop system to include any new content you need. Plus, you can read the complete deconstruction of all formulas Clash of Clans uses in our blog , so you can better understand how their shop system operates.

How to add the template

Screenshot

What Template includes

The list of Store Items:

Screenshot

The Shop:

Screenshot

3 Offers:

Screenshot

A Script which activates all the Offers at the right time:

Screenshot

The config, which is used for all the formulas:

Screenshot

Section for programmers

Feel free to download the code example and learn how exactly all formulas work: ResourcesManager.cs

  1. Import the Clash of Clans template.
  2. Deploy the changes.
  3. Open the Unity project and generate the code.
  4. Initialize Balancy.
  5. Add the following code in the callback: ClashOfClans.ResourcesManager.Tests();