My AssetStore Link

I've moved - GO TO THE NEW WEBSITE

Unity Store Link - Click to see all the Song's work that has been put on Unity AssetStore




Friday 14 October 2011

TDTK v1.2.3 (fix and minor improvement)

Following the release of version 1.2.2. I found one or two nasty bug, with the newly added open-field gameplay mode off course.

In version 1.2.2, the spawner call the path finding and store the path. The creep never find they own way, instead they relied on their respective spawner to pass them the path. A recipe for disaster, when the circumstance is right.

With version 1.2.3, each creep call the pathfinder to find their individual path. To avoid lag spike when every creep call the pathfinder at the same time, a queue has been setup for the calls. So essentially one pathFinder component can handle all the creep and spawner in the scene. Less memory usage too. There may be a slight delay for the creep if the queue is long but most of the time is hardly noticeable.

The new version has also change the basic way a creep move. This fixes a bug where the creep stray off path and never recover if the waypoint is missed, somehow, most of the time due to a lag spike.

Anyway, version 1.2.3 is now available on Unity AssetStore. Here's a demo WebPlayer if anyone's interested.

No comments:

Post a Comment