Developing iPhone Games for Longer Battery Life

Discussion in 'Public Game Developers Forum' started by ed_welch, Jul 22, 2010.

  1. ed_welch

    ed_welch Active Member

    Jun 22, 2010
    29
    0
    0
  2. sid187

    sid187 Well-Known Member

    Dec 23, 2009
    1,791
    0
    0
    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.
     
  3. ed_welch

    ed_welch Active Member

    Jun 22, 2010
    29
    0
    0
    thanks :)
     
  4. Bersaelor

    Bersaelor Member

    May 28, 2010
    18
    0
    0
    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!
     
  5. CommanderData

    CommanderData Well-Known Member
    Patreon Indie

    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" :D
     
  6. ed_welch

    ed_welch Active Member

    Jun 22, 2010
    29
    0
    0
    That's interesting. I didn't realise other people were doing it as well.
     
  7. Mondae

    Mondae Well-Known Member

    Feb 26, 2010
    1,807
    2
    0
    Perv, why do you care?
    Yes, I agree one hundred percent. With the current limited battery, I enjoy when a developer focuses on making battery life extended.
     
  8. Mew2468

    Mew2468 Well-Known Member

    Oct 20, 2008
    1,652
    5
    0
    Vancouver, BC
    "Hey, my computer can run Crysis at over 60 FPS!"

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

Share This Page