Yo I've been working on my game for a while now and my UIDs seem to be outrageously high
Is this going to impact performance? How do I fix it ?
Develop games in your browser. Powerful, performant & highly capable.
Javascript uses doubles for numbers, which has a max integer value of 9007199254740992. So that would mean if you created a million new sprites every tick, uid's would overflow after a bit longer than 4 years of continuously running at 60fps.
Javascript uses doubles for numbers, which has a max integer value of 9007199254740992.
So that would mean if you created a million new sprites every tick, uid's would overflow after a bit longer than 4 years of continuously running at 60fps.