Performance Update 16/3/23


Performance Update 16/3/23 

Better AI Core Code 

This was causing the majority of the lag - reduced from peak lag spikes of 2800ms to around 1000ms. 

Pathfinding Runs on Different Thread 

The pathfinding now runs on a seperate thread. If there are any problems with the new version this is probably where it lies - please report them in bug-reports. Reduced from around 1000ms to 100ms. 

New pathfinding algorithm 

Makes working on issues like this much easier, reduced a small amount of lag. Reduces range of pathfinding but improves performance. 

Pathfinding Optimisations 

Some lag was coming from wars such as Ethiopia vs Indonesia - the pathfinding was having a hard time doing its job. This is now fixed, I will fix the map in the next update as I am working on a system for map updates. 

Bot Countries Profit Bug 

Bots took a crazy amount of time to calculate their profit. Caused lag, now fixed.

Files

Conflict Windows Regular 46 MB
Mar 16, 2023
Conflict Android 48 MB
Mar 16, 2023
Conflict Windows 32 Bit 43 MB
Mar 16, 2023
Conflict Mac 56 MB
Mar 16, 2023

Get Conflict

Leave a comment

Log in with itch.io to leave a comment.