Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Templates
Tutorials
1/4
Token Wars is a 2D Army simulation with free roaming AI components. In this package, we’ll teach you how to make a simple foundation for a token-based game that you will be able to build on with your own personal style and ideas. In this simulation, each army is composed of different warriors represented by 2D tokens.
You can either build this project from scratch or dissect the code to see how it functions. As you go through the tutorial, each section of code is explained in detail with descriptions and explanations of how the code works and what its purpose will be. The complete code is included in the tutorial for easy cut-and-paste into your favorite C# editor. The concepts covered in this training include: 1) create units with various stats like hit-points and damage, 2) create formations of units with rank and position, 3) create flags for ally and enemy teams, and 4) create AI for roaming, targeting, and attacking.
By purchasing this package, you are authorized to use this code as the foundation for your own token-based games released in executable formats. The documentation folder includes the fully illustrated 175-page PDF tutorial with C# source code, and some sample token images to get you started. Watch for future releases for more game adaptations like mouse controls, sound effects, and messaging.

TOKEN WARS Part 1 - Fight To the Death

(not enough ratings)
17 users have favourite this asset
(17)
$25
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
2.5 MB
Latest version
1.0
Latest release date
Jul 3, 2018
Original Unity version
2018.1.3
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR