kuroxy / SoulSweep

0 stars 0 forks source link

Fog Of War Performance #14

Closed kuroxy closed 6 months ago

kuroxy commented 7 months ago

I did a little testing.

All with no other entities.

Fog Of War Disabled >= 144 fps Fog Of War Enabled ~= 65 fps

This all comes from the rendering, the map calculation does not impact the fps (at least not visible to me yet) Probably has something to do with the transparency since it is quite expensive is assume.

kuroxy commented 7 months ago

Maybe instead of drawing squares with transparency use dithering>

kuroxy commented 6 months ago

Currently with more work on (4 linecollision checks per cell with a 50x50 map ) debug around 70 FPS release min 144 fps.