I have it yield. I have heard that this is better. I have the ticking and rendering separate, with the rendering unlimited and it ticking 300 times per second. Is that too much? Ra4king - no way! Can you explain how That would work, or link me to a tutorial? Sorry for formatting, I'm on my mom's iPhone haha. Thanks!
Having it yield is not going to slow down the while loop. there is no reason to have a while loop running at the max speed your computer can process at.
Having it do that, will just have it completely consume your computers processing power and on a lot of computers people will get "lagg" from this and
possibly other issues.
So you really do need to add a delay in your while loop.
I suggest having it just sleep for about 25 millis.
To put this into perspective. your game, which is extremely small and hardly any math calculations and collision detection going on is
making my gaming rig use 30% of its processing power. Where is my current game "Epic Stubble Man" has a ton more math calculations
and collision detection going and its using only 1% of my total processing power.