News Liste Dofense

Devlog: Pathfinding rewrite
Dofense
04.03.22 22:13 Community Announcements
Hi all,

I spent the last week replacing the Pathfinding AI from a 3rd party library (Astar Pathfinding asset for Unity) to my own. The Astar library is great for all the pathfinding AI it provides. However the requirements for Dofense are a very small subset of them. The Astar API is too high level to do some optimizations. Moreover its Asynchronous nature made the code unnecessarily complicated.

I've written many simple path finding solutions for Tower Defense in the past 3 years. I had chose Astar over them because I thought its visualization gizmos will be a good feature to have and I won't have to debug issues at low level. But over the time that benefit wore off. In certain maps I saw the library failing to give correct results and I couldn't find the root cause. I tried some workarounds, which were ugly due to the asynchronous nature of the code. So I finally decided to switch back to my home made solution. I would still use Astar in future for other projects, if there is a need for more advanced pathfinding. But for now I'm happy to use my custom little library for Dofense.

The new code will fix a lot of pending issues. You may have seen them sometimes in the form of stranded enemies walking all over the map without regard to the towers and terrain. Those issues will be fixed after this update. Moreover I expect some improvement in performance too. That will enable large crowds of enemies without slowing down the game.

Here's a picture of the under-the-hood view of a typical map for your viewing pleasure.



Have a great weekend!
Logo for Dofense
Release:16.05.2022 Genre: Action-Strategie Entwickler: Blue Math Vertrieb: Blue Math Engine:keine Infos Kopierschutz:keine Infos Franchise:keine Infos
Einzelspieler Mehrspieler Koop

Aktuelle Steam News
Neue Steam News in der ePrison Datenbank

1.1 Anniversary Update
Dofense
22.05.23 21:04 Community Announcements
New mission with 3 new levels
Dofense
22.06.22 12:31 Community Announcements
New mission with 5 levels
Dofense
02.06.22 17:50 Community Announcements
v1.0.13 - Bug fixes
Dofense
24.05.22 13:16 Community Announcements
Dev plays workshop levels
Dofense
22.05.22 11:33 Community Announcements
Out of Early access
Dofense
16.05.22 10:52 Community Announcements
Devlog: Campaign design
Dofense
29.04.22 20:32 Community Announcements
v0.14.0 - Lips, Nose and more levels
Dofense
15.04.22 20:28 Community Announcements
v0.13.1
Dofense
07.04.22 19:51 Community Announcements
v0.13.0 - Steam Workshop support, New levels
Dofense
06.04.22 21:03 Community Announcements
v0.12.0 - The Demon Hand
Dofense
01.04.22 21:21 Community Announcements
Devlog: What's coming next?
Dofense
25.03.22 19:18 Community Announcements
v0.11.0 - Cloud Saves, New Pathfinding AI, 2 new levels
Dofense
11.03.22 16:22 Community Announcements
Devlog: Pathfinding rewrite
Dofense
04.03.22 22:13 Community Announcements
v0.10.1 - Balancing the economy, 12 new levels, 4 new music tracks
Dofense
23.02.22 21:48 Community Announcements
v0.9.1
Dofense
15.02.22 00:14 Community Announcements
v0.9.0 Revamped level editor, rebalancing exec Actions, new music
Dofense
14.02.22 23:24 Community Announcements
v0.8.4
Dofense
07.02.22 15:48 Community Announcements
v0.8.3
Dofense
06.02.22 01:56 Community Announcements
Gate AI Complacency (v0.8.2)
Dofense
05.02.22 18:10 Community Announcements