Search Unity

[Released] Tower Defense Template

Discussion in 'Assets and Asset Store' started by Golden-Eternity, Nov 5, 2016.

  1. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145

    If you want to create a really ambitious game, then our template can help you with this. Tower Defense Template (TD) includes all the tools needed to create amazing Tower Defense game. Using this template, you can create 2d games such as the Royal Revolt 2, Kingdom Rush, Castle Defense, Bloons TD.

    The package includes a level editor that will greatly facilitate your work. Difficulty can be changed directly in the unity editor, replacing a text document, it is wonderful, isn`t it? Also the package includes all the graphics and sound effects.

    The game worked out different mechanics that are classic for this genre of games. We would like to assure you, this is not the final product. This template will be developed and refined until it becomes perfect. We are happy to listen to all the proposals of each of the customers and will release relevant updates.
    It's no secret that the game of this genre is very popular among the mobile platform players, so start earning right now with our Tower Defense template.

    Links:
    Trailer
    Store link
    Demo build for web
    Demo build for android
    Demo build for PC

    Monetization strategy:
    - Displaying interstitial ad (admob) every level (you can easily customize yourself when to show ads)
    - Sale of diamonds, for which the player can buy powerups.

    Key Features:

    - Ready to publish
    - Easy advertising setting (admob, unity ads) and IAP (google play)
    - Mobile friendly
    - Intuitive interface
    - 2 languages (En / Rus)
    - Free oncoming updates
    - Great graphics in the Steam Punk genre
    - All the graphics included in the package and you can do with it what you want
    - A user friendly level editor
    - Unity 5 support
    - Clean and simple code of C#
    - Infinite level
    - Addictive gameplay
    - Various achievements
    - Shop with 5 powerups

    Our another assets:

    - hidden object template
    - shooter skills icon pack
    - guess the picture
    - tower defense pack
     
    Last edited: Dec 2, 2016
  2. b4c5p4c3

    b4c5p4c3

    Joined:
    Jan 4, 2013
    Posts:
    537
    Subscribing to the thread
     
  3. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    Released
     
    Last edited: Jan 4, 2017
  4. ptblk

    ptblk

    Joined:
    Mar 27, 2015
    Posts:
    57
  5. ptblk

    ptblk

    Joined:
    Mar 27, 2015
    Posts:
    57
    anyway great first release. played it a bit now and found a few bugs. Basically on this stage enemies started spawning for m the bottom forest. They also had red backgrounds behind them. I played the stage again and it didnt happen so not sure what triggered it, but here is screenshot
     
  6. ptblk

    ptblk

    Joined:
    Mar 27, 2015
    Posts:
    57
    SS
     

    Attached Files:

    • TD.jpg
      TD.jpg
      File size:
      588.8 KB
      Views:
      1,607
  7. nadthevlad

    nadthevlad

    Joined:
    Oct 27, 2014
    Posts:
    10
    Support for multi directional sprites? 4 direction? 8 direction?
     
  8. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    Thank you for a bug report, we will fix it.
     
  9. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    4/8/+-directional sprites will be added in next updates.
     
  10. Shtaket336

    Shtaket336

    Joined:
    Mar 5, 2016
    Posts:
    29
    Nice artwork!:)
     
  11. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    A lot of changes in the nearest update

    1. Updated Tutorial
    2. Fixed bug in Achievements with top bar
    3. Added options button to start window with exit button in it
    4. Added rewarded video and interstitial ads
    5. In Upgrades window when player learns new skill, next skill will be selected
    6. Added sounds and music
    7. Added freezing animation
    8. Changed magic missile animation
    9. Fixed bosses sizes
    10. Added gameplay line – between levels you have won and to the current level
    11. Added some map elements
    12. Changed balance and waves on levels
    13. Items bar in gameplay is now closing when you click outside
    14. Changed fonts (old ones are available too)
    15. Fixed font errors in editors
    16. Fixed error with wrong icons in tower-build menu when you click on different towers and don't confirm
    17. Fixed error when some units have been going from wrong place
    18. Added achievement-unlocked menu which is shown when you unlock it (in gameplay)
    19. Added won/lost menu
    20. Fixed restart errors
    21. Fixed gray screen before main menu
    22. Added confirm menu to buy item in inventory
    23. Fixed some gameplay bugs.
     
  12. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    New update is available to download from now
     
    DanielJames2016 likes this.
  13. DanielJames2016

    DanielJames2016

    Joined:
    Jan 4, 2017
    Posts:
    2
    you fixed loads of stuff :) added new things too :D
     
  14. DanielJames2016

    DanielJames2016

    Joined:
    Jan 4, 2017
    Posts:
    2
    is there away to get money on it i know there video ads but is there away to do it in editor
     
  15. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    You can change money by writing Settings.diamonds = count; where count is a diamonds count you want to set. ie Settings.diamonds = 2000;
    You should write it in UpdateController.cs::Start function, launch it and money will be changed. After it, you can comment this code.
     
  16. Shtaket336

    Shtaket336

    Joined:
    Mar 5, 2016
    Posts:
    29
    Can you add topjoy plugins??
     
  17. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    it is in our plans
     
  18. Kaemalux

    Kaemalux

    Joined:
    Aug 1, 2013
    Posts:
    45
    Hello! I am really interested in this!
    Is the documentation inside the package or you got a web page?
    For a novice, do you think would be difficult to change UI and building props?
    Thanks in advance!
     
  19. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
  20. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    You can find it in Help folder
     
  21. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
  22. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
  23. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
  24. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
  25. Jasinka

    Jasinka

    Joined:
    Oct 18, 2016
    Posts:
    45
    Looks really nice :)
    It's easy for novice connect google play and etc?
    And how hard is create new levels?

    Thanks.

    P.S. how win 3th round?
     
    Last edited: Feb 18, 2017
  26. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    There is a code to implement ads and IAP fast. Adding Play Services is not hard too. You have editors in Help folder to add new levels, towers, units and edit balance.
     
  27. Mark_T

    Mark_T

    Joined:
    Apr 25, 2011
    Posts:
    303
    Is it only 2D?
    If not, any plans for a 2.5D version?
     
  28. testerrm

    testerrm

    Joined:
    Jun 11, 2016
    Posts:
    1
    Great game but not enough features. It would be great to have the same key features as classic Kingdom Rush

    - Barracks
    - different types of Units like : Flying units, spawners, resurrectable,
    - Heroes (At least 2-3)
     
  29. bybocek

    bybocek

    Joined:
    Feb 13, 2017
    Posts:
    3
    I can not add Turkish language please help me?
     
  30. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    It is only 2D, we have no plans to change it.
     
  31. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    Barracks and Heroes are in plans to do
    You can set different types in units editor by setting buff and code it's behaviour in Tower.cs and Unit.cs
     
  32. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    Please, mail us from a email adress that can be acessed to write to you. We have tried to aswer you by mail, but it is forbidden to send you a mail.
     
  33. bybocek

    bybocek

    Joined:
    Feb 13, 2017
    Posts:
    3
  34. bybocek

    bybocek

    Joined:
    Feb 13, 2017
    Posts:
    3
    Do you have Gmail ?

    i did Language.txt and Translation.txt - LanguageEditor Working..

    But I can not create a Turkish font.

    Turkish alphabet : AaBbCcÇçDdEeFfGgĞğIıİiJjKkLlMmNnOoÖöPpRrSsŞşTtUuÜüVvYyZz
     
  35. Jasinka

    Jasinka

    Joined:
    Oct 18, 2016
    Posts:
    45
    Hello,
    Thanks for your great product. Trying fix all problem :)

    Can you little bit update your Tutorial.docs
    Example where you commented above files "ads" and "purchase".

    Please write what need install and what turn on. It will be easier for mature users :)

    Fixed this problems from here.
    Example now i getting errors -

    * Assets/TowerDefence/Scripts/Classes/Controllers/IAPController.cs(43,53): error CS0103: The name `StandardPurchasingModule' does not exist in the current context
    * Assets/TowerDefence/Scripts/Classes/Controllers/IAPController.cs(118,61): error CS0246: The type or namespace name `IAppleExtensions' could not be found. Are you missing an assembly reference?

    Admob installed, ads on, analytics on, in-app purchasing on and imported. Thanks for your time,
    Regards.
     
    Last edited: Mar 6, 2017
  36. Jasinka

    Jasinka

    Joined:
    Oct 18, 2016
    Posts:
    45
    Maybe you can explain better how configure google play store and unity in app purchase?
    Where add value and names.... Thanks in advance.

    And can you explain how add *.gif object to map? Example tree, river and etc. In level4 is animation. Maybe you can explain how use it? I can't find this in tutorial.docx.

    Thanks.
     
    Last edited: Mar 9, 2017
  37. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    You can add it from code using ObjectAnimation added to GUIImage. There is no 2-clicks method to add animation on map, it is in plans only. You can look how Units or Towers created (animation of walking or attacking).
     
  38. Jasinka

    Jasinka

    Joined:
    Oct 18, 2016
    Posts:
    45
    Thanks for respond. Can you fix or explain how working animation in level4 "Map2animation"? Or need add this object with "MapEditor.exe"?.
    I need see working and create/edit another.

    Thanks in advance.
     
  39. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    Map animations are in plans only, we have not implemented it yet, so there is no example. We have described you possible way to use it, but we can't help you more with this now.
     
  40. Jasinka

    Jasinka

    Joined:
    Oct 18, 2016
    Posts:
    45
    Okay, thanks for information :)
    And one question, how choose just admob instead unity ads? I added banner/interstitial codes, but showing just unity....

    Will wait your update :) Regards.
     
  41. Shtaket336

    Shtaket336

    Joined:
    Mar 5, 2016
    Posts:
    29
    Thanks for this great build!;)
     
  42. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    you are welcome
     
  43. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    you are welcome
     
  44. Jasinka

    Jasinka

    Joined:
    Oct 18, 2016
    Posts:
    45
    And one question, how choose just admob instead unity ads? I added banner/interstitial codes, but showing just unity....?
     
  45. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    You need to call AdsController.Show and Adscontroller.ShowBanner to use admob interstitial and banners.
     
  46. Jasinka

    Jasinka

    Joined:
    Oct 18, 2016
    Posts:
    45
    Can you explain what where need change. For you 10sec for me 10days. And another users have same question.
    Thanks.

    Code (CSharp):
    1. using UnityEngine;
    2. using System.Collections;
    3. using GoogleMobileAds.Api;
    4. #if UNITY_ANDROID
    5. using UnityEngine.Advertisements;
    6. #endif
    7.  
    8. public class AdsController {
    9.  
    10.     public static AdsController instance;
    11.  
    12.     public Actions.VoidVoid onEnd;
    13.  
    14.     private InterstitialAd interstitial;
    15.     private BannerView bannerView;
    16.  
    17.     private void RequestInterstitial() {
    18.  
    19.         Debug.Log("RequestInterstitial");
    20.  
    21. #if UNITY_ANDROID
    22.         string adUnitId = Settings.adsIdAndroid;
    23. #elif UNITY_IPHONE
    24.         string adUnitId = "ca-app-pub-xxxx/xxxx";
    25. #else
    26.             string adUnitId = "unexpected_platform";
    27. #endif
    28.  
    29.         interstitial = new InterstitialAd(adUnitId);
    30.         AdRequest request = new AdRequest.Builder().Build();
    31.         interstitial.LoadAd(request);
     
  47. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
    Your code in this script should be like this:

    Code (CSharp):
    1.  
    2.  
    3. using UnityEngine;
    4. using System.Collections;
    5. using GoogleMobileAds.Api;
    6. #if UNITY_ANDROID
    7. using UnityEngine.Advertisements;
    8. #endif
    9.  
    10. public class AdsController {
    11.  
    12.     public static AdsController instance;
    13.  
    14.     public Actions.VoidVoid onEnd;
    15.  
    16.     private InterstitialAd interstitial;
    17.     private BannerView bannerView;
    18.  
    19.     private void RequestInterstitial() {
    20.  
    21.         Debug.Log("RequestInterstitial");
    22.  
    23. #if UNITY_ANDROID
    24.         string adUnitId = Settings.adsIdAndroid;
    25. #elif UNITY_IPHONE
    26.             string adUnitId = "INSERT_IOS_INTERSTITIAL_AD_UNIT_ID_HERE";
    27. #else
    28.             string adUnitId = "unexpected_platform";
    29. #endif
    30.  
    31.         interstitial = new InterstitialAd(adUnitId);
    32.         AdRequest request = new AdRequest.Builder().Build();
    33.         interstitial.LoadAd(request);
    34.  
    35.  
    36.         interstitial.OnAdFailedToLoad += (a, b) => {
    37.  
    38.             Debug.Log(a + " OnAdFailedToLoad " + b);
    39.         };
    40.  
    41.         interstitial.OnAdLoaded += (a, b) => {
    42.  
    43.             Debug.Log(a + " OnAdLoaded " + b);
    44.         };
    45.  
    46.         interstitial.OnAdClosed += (a, b) => {
    47.  
    48.             onEnd();
    49.         };
    50.  
    51.         interstitial.OnAdLoaded += (a, b) => {
    52.            
    53.             Debug.Log(a + " OnAdLoaded " + b);
    54.         };
    55.     }
    56.  
    57.     private void RequestBanner() {
    58.  
    59.         Debug.Log ("Request Banner");
    60.  
    61. #if UNITY_ANDROID
    62.         string adUnitId = Settings.bannerIdAndroid;
    63. #elif UNITY_IPHONE
    64.             string adUnitId = "INSERT_IOS_BANNER_AD_UNIT_ID_HERE";
    65. #else
    66.             string adUnitId = "unexpected_platform";
    67. #endif
    68.  
    69.         bannerView = new BannerView(adUnitId, AdSize.Banner, AdPosition.Bottom);
    70.         AdRequest request = new AdRequest.Builder().Build();
    71.         bannerView.LoadAd(request);
    72.     }
    73.  
    74.     public void Show(Actions.VoidVoid _onEnd) {
    75.  
    76.         onEnd = _onEnd;
    77.  
    78.         Debug.Log("TryShow");
    79.  
    80.         if (interstitial.IsLoaded()) {
    81.  
    82.             Debug.Log("Show");
    83.             interstitial.Show();
    84.             RequestInterstitial();
    85.             onEnd();
    86.         } else {
    87.            
    88.             Debug.Log("NotLoaded");
    89.             onEnd();
    90.         }
    91.  
    92.     }
    93.  
    94.     public void ShowBanner() {
    95.  
    96.         bannerView.Show();
    97.     }
    98.  
    99.     public void HideBanner() {
    100.  
    101.         Debug.Log("HideBanner");
    102.  
    103.         if (bannerView != null) {
    104.  
    105.             bannerView.Hide();
    106.         }
    107.     }
    108.  
    109.     public void ShowRewardedAd(Actions.VoidVoid _onEnd) {
    110.  
    111.         onEnd = _onEnd;
    112.  
    113.         Debug.Log("Try Show Rewarded Ad");
    114.  
    115. #if UNITY_ANDROID
    116.         if (Advertisement.IsReady("rewardedVideo")) {
    117.  
    118.             var options = new ShowOptions { resultCallback = HandleShowResult };
    119.             Advertisement.Show("rewardedVideo", options);
    120.         }
    121. #endif
    122.     }
    123.  
    124. #if UNITY_ANDROID
    125.     private void HandleShowResult(ShowResult result) {
    126.  
    127.         switch (result) {
    128.             case ShowResult.Finished:
    129.  
    130.                 Debug.Log("The ad was successfully shown.");
    131.                 onEnd();
    132.                 break;
    133.  
    134.             case ShowResult.Skipped:
    135.  
    136.                 Debug.Log("The ad was skipped before reaching the end.");
    137.                 break;
    138.  
    139.             case ShowResult.Failed:
    140.  
    141.                 Debug.LogError("The ad failed to be shown.");
    142.                 break;
    143.         }
    144.     }
    145. #endif
    146.  
    147.     public AdsController() {
    148.  
    149.         instance = this;
    150.         RequestInterstitial();
    151.         RequestBanner();
    152.     }
    153. }
    154.  
    155.  
    And you need to call Show method to call AdMob interstitial ads
     
  48. Golden-Eternity

    Golden-Eternity

    Joined:
    Nov 24, 2015
    Posts:
    145
  49. dail

    dail

    Joined:
    Dec 5, 2013
    Posts:
    8
    Hello, Golden-Eternity. I would like to know if the creation of the heroes are still in the plans to do or are already developing? I have not yet made the purchase because I am waiting for this update.
     
  50. Jasinka

    Jasinka

    Joined:
    Oct 18, 2016
    Posts:
    45
    Yep and i waiting explain how use admob in full :) he is better and here unity ads don't wanna work with click.

    It's really nice asset on this store! Need just couple fixes.
    Regards.
     
    Last edited: Mar 30, 2017
unityunity