whats a good cpu range for a game

Hi


I notice today that my game was running between 30-75% depending on what I was doing in the game. I'd like to know what a good range would be to aim for and how I could improve this.


- Aaron

Accepted Answer

Different games have different levels of complexity, so there is no good generic guideline. Far better for you would be to use Instruments to verify that your game is using only the resources it needs and isn't wasting any computing time. Also you should look into the Energy Impact debug gauge.


App Review does reject apps that use excessive battery life and generate a lot of device heat, but I believe they tend to overlook battery life and heat if the app is doing a lot of work and producing great results. For example, the HD version of Leo's Fortune I have on my MacBook Air eats through battery life like nothing I've ever seen, but have you seen what you get in return for all that power-hungry code? 🙂

Devs are free to use 100% CPU if they like, so there's little point in making your app less CPU expensive. If there is lag in the UI however, simply move processing to the background to help smooth it.

Looks like I forgot to remove the enemyships from the scene that were not being shot down.. which was the cause of the high CPU/Memory/Energy issues.

Glad to hear it. Every bit of CPU and battery life you can save makes for a better user experience. Good luck with your game, by the way! 🙂

Ah...a coding issue 😉


Thanks for the follow up - now you can get busy using the rest of that CPU's processing power to make a stand out game - good luck in the store.

whats a good cpu range for a game
 
 
Q