https://absolutelyivy.itch.io/arcannon/devlog/959249/optimization-plus-whats-next
-
Changed arc prediction to pre-calculate all angles at round start, instead of re-calculating every time the mouse moves.
-
Per carllacan's suggestion on incrementaldb.com, replaced Mote sprites with a simple shader. I couldn't get the boss shader to look right, so it's still a .png for now.
-
Simplified enemy data and logic. Since there will be many enemies on screen, I wanted to make sure each node was as simple as possible. There's still room for improvement here, and I may implement object pooling in the future to reduce memory usage further.
-
Read Noise values from a .png texture instead of generating a FastNoiseLite instance at runtime.
-
Prerender effects/shaders during the loading screen. This is meant to fix the stuttering that happens on first shot / first hit, but it doesn't quite work consistently, maybe because it's rendered off screen.
-
Added a sick new background shader. This doesn't make anything faster. It's just awesome!