Covered by 1 source · 1 article
My RTS stuttered at 40 units. The fix was letting every unit roll a die
Once a second, the whole game hitched. The code was correct - it just ran for every unit in exactly the same frame.