The units of most games include army/attacking, builders, defender units, and Non Playing Characters (NPCs). The City-Building Kit for Unity includes examples you can edit to use in your own game(s). When you take a closer look at Clash of Clans, you see a wide variety of units moving around and some idle units (builders that are not working at the time). In a game like Cityville, you don’t have an actual builder but there are various NPCs and other units. Primarily, all of these units are animated. The main differences in these games are the animations used to represent each unit and what it takes to gain units.
Each unit in your game has to be trained/produced (the terms are used interchangeably). So balance has to be highly considered. Balance in terms of the cost and length of time it takes to train any given unit as well has housing for each unit as needed. Too much or too little of either can result in a very awkward game for your players.
In Clash of Clans, the housing building is made and you automatically obtain a builder. The army units are gained after the housing building is made and then you train units which are stored in the housing building from a unit generator building (the barracks). In the game Farmville, you have an automatically obtained builder unit, and various farm animals, trees, and plant units. With the City-Building Kit, you already have a set of units and everything you need to work with them right from the start.Watch DemoPlay Demo App
*Demo app is from the Complete Kit.
Make a Game like Clash of Clans with Unity3D
Powerful City Builder Framework
- Design Your Own Buildings
- Gems and In-App Purchases (IAP)
- Gold/Liquid Generators and Storage
- Expandable with assets
PvP AI Battle Processor
- Combat/Unit AI
- PvE Battle Matching
- Gold/Liquid Stealing
- Gem Accelerated Training
Fully-prepared Server Backend
- Client/Server State Sync
- Server Software
- Create Multi-Platform Game Matches
- Add Characters / Buildings With XML
How do I work with units in the City-Building Kit?
There’s two main parts to all this.
- The files. This includes all your graphics files and the creatures.xml file. You have to setup all your graphics to produce the Unit Menu items (portraits as seen in a shop) and the units themselves (including animations to handle full body images). The City-Building Kit handles the graphics as layers for you. Think of these layers more like an automatic send to front/move to back feature. This is included with the kit so that all graphics are displayed properly. Once all your graphics are ready to use and added into their proper locations, edit the creatures.xml file to handle the settings such as cost and time to train a unit as needed. The file itself is commented well so that even at a glance, you can easily see what line of code handles each part of the units.
- Edit the Units Menu. The City-Building Kit comes with an example Units Menu for you to work with. You can add in all the units your game needs. In the Sprites_NGUI folder, there are 2 folders with images used in the interfaces. Namely, the Charbody and Charportrait folders. Each handles as the name implies; body for the unit itself and portrait for the Unit Menu (the shop).
The City-Building Kit comes with everything you need to enter all the custom units for your game. With this, you can mix and match the features you see in games like The Tribez and Restaurant Story into your game(s) with little to no difficulty.Watch the Strategy Kit
Work on all platforms: mobile apps, desktop pc games, web browser
City Building Kit Feature Highlights
When it comes to battle situations, the City-Building Kit for Unity provides the two standard modes. This is Player vs. Everything (PvE) and Player vs. Player (PvP). Troops, army units, military, or whatever else a developer names them in their game(s) handle all battles. But the City-Building Kit provides something unique in these battles. When checking games like Clash of Clans or Throne Rush, it becomes clear very quickly that once you deploy troops, they go after everything they can at random. With the City-Building Kit, you can control your troops.
The City-Building Kit for Unity has a minimum requirement of Unity 4.5 or higher. This works fine to develop your city building + Real Time Strategy (RTS) game(s). Depending on which version of the kit you purchased, you can develop clones of games like Farmville, Restaurant Story, Clash of Clans, The Tribez, Fantasy II Defense, and/or The Simpsons Tapped Out. There’s a wide variety of mix and match possibilities in each version of the kit. However, Unity itself never planned on staying on a single version. The Unity 5 game engine is available and sure enough, the City-Building Kit is fully compatible with Unity 5.
Any game developer would want their game to be able to compete with games like Clash of Clans, The Simpsons Tapped Out, and/or Restaurant Story graphically. In order to do so, animations must be included. Unity comes with various tools to handle animations such as the 2DToolkit. The City-Building Kit for Unity comes with the capabilities to handle animations to be included in your game, examples to work with right out of the box, and handling for 3D animations/conversions as well. One of the nice parts to the City-Building Kit is how it handles graphics and animations as sprites. Sprites reduce the workout for storage and memory so your games load faster and take up less storage space.
Unity Game Source Code
The City-Building Kit is made with Unity. It’s a game engine and Unity template at the same time. With it, you can make your own city builder + Real Time Strategy (RTS) game(s). Games such as Clash of Clans, The Tribez, The Simpsons Tapped Out, and other games like Cityille, Restaurant Story, and Farmville can be made using the City-Building Kit. And as such, you have all the deployment options, capabilities, and tools that Unity has. Unity itself is massive and used by millions of developers all over the world.
Your game is being developed, but then it becomes clear that it seems dull and/or lifeless. With the City-Building Kit for Unity, animated buildings or even some parts of the buildings can fix this. The City-Building Kit already has two example buildings included so that a developer can see exactly how they work and modify either or both and continue making their game.
When playing games such as Clash of Clans or The Tribez, one of the more appealing aspects is being able to attack another player. Of course, doing so just for fun isn’t the point. The main two points are to find ways to win and the loot you gain. With the City-Building Kit, this is all possible and extras are added right from the start.
Frequently Asked Questions
Does it work with Unity 5? Why do I still need NGUI/2DTK?
Yes, we support Unity 5 however the UI/2D functions expanding the kit are far more advanced than Unity 5's UI/2D features currently provide. You'll need the NGUI and 2D Toolkit assets which are further developed.
Where can I get the latest copy?
Click the link at the top of this page to download the latest copy. As long as you have your license code, you will be able to download the latest dev build, upgrade your kit and get any bonuses included with our highest packages.
When do you release updates?
We've designed the kit to be compatible with future releases of Unity, NGUI, and 2DTK since we don't update often unless we discover a bug we missed during our extensive testing we did before this past release.
What if I have another question?
First check the documentation, otherwise contact us if you have a question and Santhosh or Dave and Richard will get back to you.