TowerDefense ToolKit 4

I was mistaken
Android build in the window, mac build ios ipone available in the question,
Article was poorly written translations.
Question is whether all that is being build. ^ ^
Thank you.

TDTK v2.0.2 is now live on AssetStore!

Iā€™m pleased to annouced that two new features has been added in this version. Creep that spawn more creep upon destroyed as well as dynamic waypoint. The former is pretty self-explainary. The later is dynamic positioning of the waypoint for the creeps to make the placement of the creeps along the path more natural.

Just try the updated webplayer demo to see the new features in action.

The full list of changes in update are shown as below:

  • fix bug where TurretTower wonā€™t shoot when thereā€™s no turretObject assigned.
  • fix bug where tower will target a creep even when itā€™s destroyed.
  • fix bug where GameControl will always auto initiate AudioManager and override user created AudioManager.
  • fix bug with editor for GameControl and SpawnManager.
  • fix bug for tower editor where TurretAnimateMode doesnt assigned properly.
  • fix bug where creep will replay death animation when hit after they are destroyed.
  • fix bug where override speed value in SpawnEditor doesnā€™t take effect.
  • Added option for dynamic waypoint, randomise creep position along the path in some extent.
  • Added option for creeps to spawn more creep upon destroyed.
  • Added camera rotation for iOS.
  • pinch-zooming in iOS has been reworked and now work more consistently.

edit: apparently a logic error has been created accidentally after adding the new creep spawning feature. A hotfix v2.0.2h has been uploaded to assetStore to remedy that issue.

@Songtan
you nailed down a few of the issues affecting some of us TDTK users, thank you!

any chance to have it on Asset Store Madness ? :wink:

@zhx, Thanks, I aimed to pleased. :slight_smile:

@Dog, sorry to dissapoint but TDTK is not going to be on AssetStore for the time being. I feel that a 50% discount would be quite unfair for user who have just purchased the kit recently. And I think the current asking price is quite fair for the package content and the support and after sales service I offer. However Iā€™m willing to offer a small discount should you wish to do a direct purchase from me. Let me know if you are interested.

Btw I like to take this post to annouce that a new hotfix v2.0.2h has been uploaded to AssetStore to fix an issue following the update of v2.0.2.

Looks like itā€™s awesome thing.
Will it be JS version ?

@skyground, I certainly hope itā€™s as awesome as anyoneā€™s expectation. Unfortunately there are no js version for the time being.

Great toolkit.

I am trying to have a couple of towers on the scene when it starts. I add the TowerTurret_Canon from the Prefab folder to the scene, but it doesnā€™t do anything once the game starts. It is present but it just sits there. Adding a turret from the bar inside the game works normally.

Can you tell me how to add turrets to the scene outside the game so they work just like the ones built in-game? Thanks.

@kd5crs, Thanks for the kind word. Unfortunately the toolkit doesnt support pre-placed tower in the level now. Give me a few minutes, Iā€™ll see if I can do a quick fix for you. Iā€™ll pm you when itā€™s done.

Of course now the issue has been brought out, expect to see this in the next update.

Outstanding! It works great.

Iā€™ve finally find time to make some tutorial videos. Itā€™s a 3 part series covering most aspect of the framework. Unfortunately I didnt manage to cover everything. Still, check it out if you like to find out more or learn about TDTK.

Part1, Part2, Part3

Please pardon the audio cut off at the start of some of the videos as well as some choppy language and explaination. :slight_smile:

I just wanted to say, this is an outstanding kit! Iā€™m just having a little trouble with the slow effect. I have set up an AoE tower which works fine, but the slow effect doesnā€™t seem to work. Any help would be appreciated! Thanks!

Just checked, thereā€™s a silly mistake in the code on my end. Terribly sorry for that.

To fix the issue, please replace line-382 in Unit.cs from

CheckSlowEffect();

to

StartCoroutine(CheckSlowEffect());

Iā€™m thinking of creating a content pack of Towers for Tower Defense games.

This is a work-in-progress machine gun tower (level 3):

http://s1074.photobucket.com/albums/w414/RogerCotton/?action=view&current=TD_MachineGunTower_-1.mp4

[click link to see animation]

I understand that the number of onscreen effects and instances of towers and targets is a factor in how fast the game plays (fps), but is there a recommended poly count range per tower should I shoot for? I am assuming the towers would be used in a game using Tower Defense Toolkit.

Also, is there anything I shouldnā€™t animate the towers doing that would be programmed instead?

Nice tower, great work.

Indeed there are no magic number that for having a high fps. And itā€™s very difficult to judge for desktop machine since each one can be very different. I would benchmak against iOS device. So the main indicating factor for graphic is drawcall. The best way to optimise this would be to utilise unity dynamic batching. Dynamic batching batched together meshes with similar material with the requirement that these mesh have less than 300 vertices. So if the model is meant to be compatible with iOS device, I would advise you to keep it under 300 vertices for each mesh and have as few mesh per tower as possible.

As for tower bone arrangement and animation, the framework doesn quite support animation for tower yet. But Iā€™ll be adding support for building and shooting animation in the next update. The requirement being the turret and the tower has be a seperate mesh for aiming, also the building and shooting animation should be parented to root and turret. As in unity, the animation component which run build animation should be on root tower object and the animation component which run shoot animation should be on turret object.

Hope this make sense.

Yes, Songtan. Your explanation really helps! I appreciate it.

Works great! Thanks again for such an amazing tool!

Actually now I have another problem, the slow is lasting forever even when the duration is only set to one second. Thanks for any help!

@Mdevlin, Iā€™ll revise the code again and let you know. Sorry again.

Its honestly no problem! Thanks for being so active and helpful, its really awesome support!