Devlog - Optimization progress


Hey, I'm back!

{ OPTIMIZATION PROGRESS }

A SHORT DEVLOG

I've been trying to find a sweetspot for optimizing the actors and the plugin, by pushing it to extreme lengths and see what can be done.

In the gif below, there's around 12,300 individual actors all running a Flipbook animation at the same time. So far, with maximum optimizations set, I'm getting around 15-23 fps average when moving around with occasional hiccups.



I'm running the angle calculations on a fixed tick rate instead of using UE5 own tick function, and using a LOD for the animations when a player is far enough to barely notice. Because 12,300 is a LOT of actors, I'm actually switching off tick for the DirectionalComponent entirely since the tick function is a killer on the game thread, in this case at least.


Using these implementations, we'll be able to get better performance for lower hardware players and especially in the case of more accurate retro game homages, where every singe ms is needed. 

(P.S, we're also able to add more 8 directional static sprite objects without worring too much about this plugin's performance impact)


That's all from me, hope you had a great weekend and looking forward to the next! :)

//SIPSII

Get Eight Directional Rendering

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.