Predicting the AI turn with getSmartTargeting was a huge performance bottleneck and lagged the FPS when there were many enemies on screen.
This commit changes how attentionMarkers are rendered by generating them in chunks so that if there are lots of enemies it will generate them over time instead of lagging the game out.
Predicting the AI turn with getSmartTargeting was a huge performance bottleneck and lagged the FPS when there were many enemies on screen.
This commit changes how attentionMarkers are rendered by generating them in chunks so that if there are lots of enemies it will generate them over time instead of lagging the game out.