Full Source Code
With every version of the City-Building Kit for Unity, a wide variety of included artwork and assets are there to help you learn and for your own use. The City-Building Kit didn’t stop there. Also included is the full source code. This comes in the form of C# scripts and xml data files. With these, you can edit them to use the features and functions you want in your city building + Real Time Strategy (RTS) games as you need. Take for example the games Clash of Clans, The Tribez, Farmville, and Fantasy II Defense. Just about any aspect and more can be included into your game development needs. The City-Building Kit allows and recommends you edit the included full source code to suit your needs.
How does this help me develop games?
There’re two main points to remember with the included full source code: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
- Fully editable. You can mix and match all the features of any city building (social games) + RTS games you like into your game(s). For example the game Castle Clash. You can take specific features like timed quests and included that into your game(s). Then you can add in farming aspects like you find in Farmville. But things such as city building like in Cityville or Island City are already included without you having to do much of anything. Editing the source code allows for this and vastly more.
- Time saver. In not having to make all this source code from scratch, having something to learn from, and having something to work with all at the same time, a very large amount of time was already saved for you by the City-Building Kit with just the included full source code. All this, right from the start.
What’s included with the City-Building Kit concerning full source code?
The City-Building Kit comes with up to over 11,000 lines of code that you can edit all you like to that are spread throughout 50+ C# Unity scripts and various xml data files. Some examples included as demos with the full source code are:
- Gold generation and storage. For handling gold, the first soft currency.
- Liquid generation and storage. For handling liquid, the second soft currency.
- Terrain handling. For the various aspects concerning terrain display.
- In-App Purchases. To show you how to make some money with your game(s). However, this is just one method.
- NPCs. The builder demo shows you how NPCs can be setup and used in your city building + RTS game(s).
These are just some examples that are included along with the included full source code of the City-Building Kit, right out of the box.Watch the Strategy Kit
Work on all platforms: mobile apps, desktop pc games, web browser
City Building Kit Feature Highlights
Gems, crystals, or whatever else you want to call them in your game(s) are the hard currency in city building + Real Time Strategy (RTS) games. Currently, the only two ways for users to get gems are buy them (In-App Purchases) or via rewards. But this only depends on what you want to include of this feature when using the City-Building Kit for Unity. The other side of the story for gems is what they’re used on. In Clash of Clans, you use them to speed up unit training, construct buildings faster, and buy resources. In the game Cityville, you have gems but they are named Cash just like with Farmville. In these games, it’s the same ideas as in city building + RTS, but there’s no battle concern. In Castle Clash, you use gems just like in Clash of Clans but you can also, for example, buy Heroes too. The mix and match can be near limitless depending on what you include while using the City-Building Kit.
Gem Speed Up
One of the more popular options to include in city building + Real Time Strategy (RTS) games is a method to speed up production of resources and building completion. In the game Cityville, you can speed up productions by using “cash”. In Clash of Clans, you speed up productions by using gems. It’s primarily the same idea in all the games. With the City-Building Kit for Unity, the gem speed up feature can be used right out of the box. The In-App Purchases can be setup by the developer to sell gems or whatever you like to call it. But in your game(s) you also setup the Stats.cs C# script to handle to tracking/recording of the gems.
Gold and Liquid Generation and Storage
You have a game being made and now it needs a type of currency/resources for the players to work with. Currency generation handles that for all types of resources. The City-Building Kit for Unity developers has a built in resource generator, generator objects, along with cash bought resources. Whatever a developer names the currency, it can be used by the player. In the example of Clash of Clans, you have gold and elixir. With the City-Building Kit, you can have whatever types of currency your game needs. Each one set to the specific building and customized in the included file building.xml.
How-To Upgrade the Starter and Pro Kits
The City-Building Kit for Unity has three versions; the Starter, Pro, and Complete Kits. Each one building up can provide everything you need to develop game from city building social games to city building + Real Time Strategy (RTS) and tower defense games. Each version building up includes more and more features and capabilities to further expand your game developments. So you can begin with the Starter Kit and already make clone games like Farmville, Restaurant Story, and City Island. Another option for you is to start with the Pro Kit and you can include games like Clash of Clans, Castle Clash, and The Tribez to your developments. Or if you wanted to go all out and get everything included in one shot, the Complete Kit expands further and allows for tower defense games like Defender II and Fantasy II Defense games to be made.
One of the most popular methods for a developer to make money with their apps and games is to make it a free game and include In-App Purchases (IAP). The City-Building Kit for Unity has this feature already included as a demo. The demo includes four different items that can be purchased using real money. This demo can be edited to feature everything your city building + Real Time Strategy (RTS) game(s) want to sell for real money. For examples, in Clash of Clans you can buy gems for real money. In Cityville, you can buy energy for real money. In the included demo, you can buy any resource for real money. These are just some examples as to what can be setup in your games while using the City-Building Kit.
Kinetic Mobile Gestures
The Complete version of the City-Building Kit for Unity comes with two types of gesture controls built in and ready for you to use. These are the Developer controls and Player controls. These are optimized for great user experiences on mobile devices but are known to work well when developing and/or playing on desktop systems. Touch controls is the basic name of it and allows for zooming in and out, moving the map, and moving buildings and units as needed as found in top games like Clash of Clans and Cityville. The aim for the City-Building Kit was to provide easy to use, friendly, and familiar controls for both players and developers.
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.