RI & RAM Usage

IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
edited November -1 in Working with GS (Mac)
Hello!
In my new game, I use Resolution Independence (all my graphics are in iPhone 4 resolution). I don't have iPhone 4 (I skipped it waiting for iPhone 5), so I have two questions about it:
1. If I preview my game on iPhone 3G, and see that RAM Usage for graphics is about 20 MB, so it should be 40 MB on iPhone 4, right? Or if it is 15 MB, it should be 30 MB on iPhone 4?
2. How big overall RAM Usage is too big for iPhone 4?

Thank you very much!

Comments

  • PhoticsPhotics Member Posts: 4,172
    I'm thinking that this is not an area to mess around with. If you guess wrong, you release a game that crashes. If too much RAM is used, it's game over. A real testing device should be used.

    You might want to team up with a tester that has an iPhone 4.

    If you still think that you want to chance it, an iPhone 4 can handle a lot more than an iPhone 3G... but a 1024x1024 is not double the size of a 512x512 image. That's FOUR TIMES as many pixels.
  • AppsRacKAppsRacK Member Posts: 346
    just did a quick test of this for you.

    iPhone 4
    Image mem usage = 5.8MB

    iPhone3gs
    Image mem usage = 1.5MB

    iPod 1st gen
    Image mem usage = 1.4MB

    These numbers are base on the game im making right now consist of one scene with 80+ actors 60 of them are 128X128 in size and RI is set to ON.

    hope it helps.
  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    drahc said:
    just did a quick test of this for you.

    iPhone 4
    Image mem usage = 5.8MB

    iPhone3gs
    Image mem usage = 1.5MB

    iPod 1st gen
    Image mem usage = 1.4MB

    These numbers are base on the game im making right now consist of one scene with 80+ actors 60 of them are 128X128 in size and RI is set to ON.

    hope it helps.

    Thank you very much! It's very helpful!
  • PhoticsPhotics Member Posts: 4,172
    Heh... like I stated before... four times as big.

    1.5 x 4 = 6

    An iPhone 4 is near critical around 80 MB. That's why testing on a real device is important.
  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    Photics said:
    Heh... like I stated before... four times as big.

    1.5 x 4 = 6

    An iPhone 4 is near critical around 80 MB. That's why testing on a real device is important.

    You were right :) Thanks Photics!
Sign In or Register to comment.