1 decade ago
by Jerczu
Hi guys
So I am using Xcode 4.2 I put all the stuff in xcode and on my Iphone 4S with ios 5.0.1 all runs great. But then when I try to run it on a iOS4.3.1 phone the animations of the player and on the splash screen come up as white squares. Can anyone point me in the right direction whats the dealio?
Edit: its maybe worth to mention that I am developing for a "native" resolution 480x320 and my player spritesheet is massive (2385x2240) - I am assuming the image width/height might be the issue.
1 decade ago
by Jerczu
Ok problem seems to be solved - I missed somehow the fact that max size of a texture can be 2048x2048
1 decade ago
by Jerczu
Funny enough it seems that the texture size have been bumped up on 4S as it was rendering great with the regular size mentioned above over 2048...
1 decade ago
by Arantor
I suspect it's more the fact of iOS 5.0.1 vs 4.3.1 rather than the fact it's a 4S, but it could just as easily be either.
1 decade ago
by Jerczu
Quote from Arantor
I suspect it's more the fact of iOS 5.0.1 vs 4.3.1 rather than the fact it's a 4S, but it could just as easily be either.
I ran the same code on 4 and 4S both on 5.0.1 - 4S no issues, 4 white rectangles - Thus my assumption that it is the hardware rather than OS. After reducing the texture size to 2048x2048 - 4 started to render it properly where 4S never had an issue.
You have to forgive my ignorance as these are my absolutely first steps in developing for iOS but you can clearly see where I got my conclusion from.
1 decade ago
by Arantor
shrug I was going on the fact you'd pointed out one was 4.3.1 vs the other on 5.0.1, but it wouldn't surprise me to see that the 4S has a better graphics processor in it.
1 decade ago
by Jerczu
Quote from Arantor
shrug I was going on the fact you'd pointed out one was 4.3.1 vs the other on 5.0.1, but it wouldn't surprise me to see that the 4S has a better graphics processor in it.
I was surprised too I did expect it to be the software issue (so I thought once I release it I'll just require iOS5 as minimum) but I upgraded the 4 to 5.0.1 in the meantime and error persisted then I started digging and found that the max texture size is 2048x2048 so I reduced the size of the texture and 4 started rendering it properly whereas 4S and my iPad2 never had this issue.
1 decade ago
by Arantor
Hrm, I wonder if my iPad 1 would have that issue, presumably it would, then.
Still, something useful to bear in mind. (I can't imagine having a spritesheet that large, personally)
1 decade ago
by Jerczu
Hah I'm working on native size 480x320 and I have 10 character anims 9 frames (well now 6) per action each frame is 265 x 320 px runs great even on 3GS steady 57-60 fps.
1 decade ago
by Jerczu
It probably would as I experienced it on 3GS, 4 and no issue on 4s
Page 1 of 1
« first
« previous
next ›
last »