Home
Reviews
Forums
New Games
Podcast
• submit tip •
  #1  
Old 07-22-2010, 11:57 AM
ed_welch ed_welch is offline
Junior Member
 
Join Date: Jun 2010
Posts: 27
Default Developing iPhone Games for Longer Battery Life

Hi All,
You might be interested in an article I wrote for GameDev recently:
http://www.gamedev.net/reference/pro.../iPhoneBatSave

It shows how we made our game "Armageddon Wars" battery friendly by dynamically throttling the frame rate during game play.
Reply With Quote
  #2  
Old 07-22-2010, 12:45 PM
sid187 sid187 is offline
Senior Member
iPod Touch (3rd Gen), OS 4.x
 
Join Date: Dec 2009
Posts: 1,801
Default

im not a dev.. i only know C and my back ground in that was unix systems etc.. but your article is very well written and makes complete sence.. congrats on a well written article.

chris.
Reply With Quote
  #3  
Old 07-22-2010, 12:58 PM
ed_welch ed_welch is offline
Junior Member
 
Join Date: Jun 2010
Posts: 27
Default

Quote:
Originally Posted by sid187 View Post
im not a dev.. i only know C and my back ground in that was unix systems etc.. but your article is very well written and makes complete sence.. congrats on a well written article.

chris.
thanks
Reply With Quote
  #4  
Old 07-23-2010, 06:33 AM
Bersaelor Bersaelor is offline
Junior Member
 
Join Date: May 2010
Posts: 17
Send a message via Skype™ to Bersaelor
Default

Hey,

many thanks for the cool idea!

As my app is turn based, as long as there is no animation going on, I can just render at 1 FPS.

This was really easy to incorporate and might save a lot of battery power, especially for those players who look at a game situation for quite a while to figure out the best move!
Reply With Quote
  #5  
Old 07-23-2010, 07:41 AM
CommanderData's Avatar
CommanderData CommanderData is offline
Developer
iPhone 3GS, OS 3.x
 
Join Date: Nov 2008
Posts: 1,185
Default

Great article, and I agree with it completely. It's surprising how many people who started coding in the last few years have no concept of efficiency- careful use of RAM, CPU (and nowadays, the GPU) can impact more than just game performance, but how long you actually get to play it on battery power.

Rogue Touch took this to the extreme over a year ago- when not actively processing a character or monster move it runs at *zero* fps (due to my use of CALayers and CG drawing calls)!

You can play RT for a very long time on a charge

Spirit Hunter Mineko and Rogue Touch EX are already using concepts similar to your article as well. Since these two are animated OpenGL based games they are set to run at 30 FPS when necessary. Spirit Hunter Mineko's idle animations are pretty complex, so I'm using 12 FPS at idle. Rogue Touch EX will probably be more like 6 FPS at idle.

I wish I had the time and patience to blog and write articles like this, but I don't... so big props for doing this! The more people that adhere to these ideas, the longer everyone can game "on the go"
Reply With Quote
  #6  
Old 07-23-2010, 03:07 PM
ed_welch ed_welch is offline
Junior Member
 
Join Date: Jun 2010
Posts: 27
Default

That's interesting. I didn't realise other people were doing it as well.
Reply With Quote
  #7  
Old 07-23-2010, 04:17 PM
Mondae Mondae is offline
Senior Member
iPod Touch (3rd Gen), OS 3.x
 
Join Date: Feb 2010
Location: Perv, why do you care?
Posts: 1,814
Default

Yes, I agree one hundred percent. With the current limited battery, I enjoy when a developer focuses on making battery life extended.
Reply With Quote
  #8  
Old 07-23-2010, 05:05 PM
Mew2468 Mew2468 is offline
Senior Member
iPhone 4
 
Join Date: Oct 2008
Location: Vancouver, BC
Posts: 1,653
Default

Quote:
Originally Posted by CommanderData View Post
Rogue Touch took this to the extreme over a year ago- when not actively processing a character or monster move it runs at *zero* fps (due to my use of CALayers and CG drawing calls)!
"Hey, my computer can run Crysis at over 60 FPS!"

"Yeah, that's cool, but my iPhone runs Rogue Touch at 0 FPS. Owned!"
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


iPhone Game Reviews | iPhone Apps

All times are GMT -5. The time now is 01:37 PM.