GLBasic forum

Main forum => Off Topic => Topic started by: Omadan on 2012-Feb-08

Title: Screenshots must be 960 by 640
Post by: Omadan on 2012-Feb-08
Hey all, just got informed by Apple that iOS game screenshots must now be at high res 960,640 and no longer 480,320. Has anyone heard about this? And does this mean that whole game has to be 960,640 or just the submitted screenshots. If someone knows I'd really like to hear about this. Thanks a lot.
Title: Re: Screenshots must be 960 by 640
Post by: Ian Price on 2012-Feb-08
I got the email too.

It's just the screenshots. It can't be the whole game, as Apple still supports older devices that don't support these resolutions. Although I suspect that these won't be supported for much longer...

Time for me to get a new iPod I think (once the new versions are released).
Title: Re: Screenshots must be 960 by 640
Post by: spacefractal on 2012-Feb-08
Yep, Retina Graphics is now required by that means in my throught. Its not just about screenshots, elsewise its would not give any means at all. Apple want to force developers to update thier apps to support Retina, since its have been around long time now.

Also 3gs is the last supported device, that still have 480x320 resoulution. But its might soon got discounted and only get limited support (example all ios5 updates). When that device is out of the market, then there is simply no more reason to support 480x320 at all, other than supporting old devices.

So my think, yes its all updates is required to support Retina, so gonna update your graphics to support that!

Look more here:
http://www.macrumors.com/2012/02/07/apple-now-requiring-iphone-developers-to-submit-retina-screenshots/

PS. My game support any resolutions from 320x240 all up to iPad 3 resolution (2048x1536 i except), so I wont have that problem at all.


Title: Re: Screenshots must be 960 by 640
Post by: okee on 2012-Feb-08
Is it possible to compile your app to support all devices ?, from 1G up to the latest versions.
Title: Re: Screenshots must be 960 by 640
Post by: spicypixel on 2012-Feb-08
So effectively you could open an Apple Dev account with your 3GS and find you have to buy a new phone to test your apps. Great! Especially now I'm halfway through development of a game FFS.
Title: Re: Screenshots must be 960 by 640
Post by: Ian Price on 2012-Feb-08
Quote from: spicypixel on 2012-Feb-08
So effectively you could open an Apple Dev account with your 3GS and find you have to buy a new phone to test your apps. Great! Especially now I'm halfway through development of a game FFS.
That's Apple for you. Something they supported yesterday is no longer even tolerated today. Gotta love Apple.
Title: Re: Screenshots must be 960 by 640
Post by: Crivens on 2012-Feb-08
I got that message even though I did submit retina iPhone screenshots (only yesterday for Snake Revolutions). Interestingly when you download the images from iTunes on a PC the images are back to 320x480 and even have these dimensions in the filenames. Strange...

As for testing, just make sure you use one of the methods for generic screen sizes. I posted one ages ago that resizes all graphics and Ampos has done a few types. Plus if you turn everything into 3D then everything will be fine.

I, for example, used 2 techniques for Snake Revolutions. The actual game is 2D, but the objects are 3D (flat plains). I don't resize the 3D textures and the game looks identical on any device when playing. On an iPad (I don't have one BTW, just a TP which is the same Res) it looks the same but because of the difference in ratio you see slightly more of the play area than an iPhone.

For the GUI I was going to use 3D here too, but I couldn't get Gernot's static 2D code (stick a 3D object to a 2D position on the screen) to work in the 3ES functions. Well not fully anyway. I abandoned that for now and instead used my old graphics resize code (see code snippets) which resizes all GUI graphics (inc transparency) based on the resolution (only the first time run or if graphics change in an update). This works nicely (esp for memory usage and speed) but has the downside that differences in screen ratio (iPad vs iPhone) make these images slighter fatter than their intended iPhone retina display (not exactly a deal breaker though. Looks fine really). It's also a bit harder to code for but hardly rocket science.

It's extra work to make a game work on any resolution, but worth it in the long run, and is easy enough to code into a new game. An old game might be a total pain to convert, although Ampos posted some useful code that resizes each screen on the fly. It's brilliant for easily and quickly converting an old game, but the downside is it eats into your FPS. Roughly 50% reduction from what I've experimented with on my old games. On the other hand if it's a simple puzzle game or a game that doesn't require fast screen updates (ie. an arcade game is probably out) then you are sorted.

Oh and with any of these solutions always set the project resolution to 9998x9999 (or 9999x9998 for landscape). This way the device will try and use the highest resolution it can. Hopefully Gernot can implement my idea of device specific resolutions for GLB11. This was the idea that you might code for retina but an iPhone4 might not have the beans to really fly on retina even though it can handle the resolution. The 4S would be fine though. So you need a device specific setting to set everything to 9998x9999, but made the iPhone4 (and ipod4) set to 320x480. I still cross my fingers he can implement changing resolution whenever you want (retina menu, but low res game once you do a quick benchmark of capability), but Gernot reckoned that would be massively hard to do. Fair enough. Just device specific thanks!

Cheers
Title: Re: Screenshots must be 960 by 640
Post by: spacefractal on 2012-Feb-08
you can still support older devices, but you can no longer just make 480x320 games, which might force to support a least 960x640 now in near future.

In some games I do gonna seen graphics still is 480x320, but redraw font and hud display or such thing, so its have primary support of Retina (easier to read the text). Also retro games is of course "blocky" pixels, which is even easier to add 960x640 support by upscaling (etc 960x640 screenshot is more clean than upscaled 480x320 screenshot). So that depend which kind game that is. So in many chases you property could just upscaling without issue.

In Jungool (a none glbasic game), we did drawn all graphics to 480x320, but used Genius Fractal for upscaling to 960x640 later in the development (Lobo feel redraw would take far too much time and I agreed here). That plugin did a awesome upscaling job to Retina/iPad resolution (etc I have to say I "only" created music for that game), since Lobo (graphics) diddent like upsaling general elsewise (and no its NOT relativt to my username at all, we also laughed about the name due that).
Title: Re: Screenshots must be 960 by 640
Post by: Crivens on 2012-Feb-08
To be fair I don't believe it said the game had to be retina, just that the screenshots had to be... Considering retina devices upscale non-retina graphics on the fly then *maybe* can get away with just resizing non-retina screenshots to retina resolutions. Might get past them considering the device will upscale anyway, and possibly is just lazy method to get HD screenshots for a new app store layout (instead of resizing on the fly).

Cheers
Title: Re: Screenshots must be 960 by 640
Post by: Ian Price on 2012-Feb-08
Indeed, as I stated - it is just the screenshots. For now...

TBF We all knew this was coming anyway. It's been 2 years since retina display was introduced. That's plenty of time to accept progress really.
Title: Re: Screenshots must be 960 by 640
Post by: spicypixel on 2012-Feb-08
So if I'm to support 960x640 and 480x320 only (personal choice) I don't need to set the resolution to 9999x9998 just 960x640 and create 2 sets of gfx. I will then check screen res to determine the gfx used.

I'm presuming doing this will work for iPad too even using the 2 resolutions above? Don't wanna upscale as my game presently is a fast arcade game and I don't wanna lose upto 50% framerate.
Title: Re: Screenshots must be 960 by 640
Post by: Ian Price on 2012-Feb-08
You don't necessarily need two sets of graphics if you scale down from 960x640, although the images may/will degrade a bit.

It's always better to develop for the larger size and downscale than the smaller one and upscale.

How you do it is upto you though, obviously.
Title: Re: Screenshots must be 960 by 640
Post by: spicypixel on 2012-Feb-08
Quote from: Ian Price on 2012-Feb-08
You don't necessarily need two sets of graphics if you scale down from 960x640, although the images may/will degrade a bit.

It's always better to develop for the larger size and downscale than the smaller one and upscale.

How you do it is upto you though, obviously.

Yeh but the gfx I've drawn are presently drawn for lower res lol. So I need to draw a larger tileset. To be honest if I had drawn them at a higher res I'd shrink to 50% and then touch-up by hand the benefit of being a pixel artist :)
Title: Re: Screenshots must be 960 by 640
Post by: Ian Price on 2012-Feb-08
Indeed :)
Title: Re: Screenshots must be 960 by 640
Post by: erico on 2012-Feb-08
upscaling something on a 2x bases won´t hurt your gfx if don´t use any pixel blending.
downcaling will always destroy your art.

Being a fan of 320x240 (ye kof 98 best art ever) I tend to do things that way or proportional to that, gotta love fat pixels...
I have to mention though, that the latest kof, XIII, has got me waaay impressed on the gfx/anim, there is a hidden 3d technic there that is just awesome, that is a 720p resolution I guess...
Title: Re: Screenshots must be 960 by 640
Post by: spicypixel on 2012-Feb-08
To determine whether it's a 480x320 iDevice or a Retina enabled iDevice do I use a combo of PLATFORMINFO and GETDESKTOPSIZE? Or will it report 480x320 even if its HD capable?
Title: Re: Screenshots must be 960 by 640
Post by: Crivens on 2012-Feb-08
Using 9999x9998 will give you 480x320 on a non-retina iPhone when using GETSCREENSIZE. On a retina iPhone you will get 960x640.

Cheers
Title: Re: Screenshots must be 960 by 640
Post by: spicypixel on 2012-Feb-08
Quote from: Crivens on 2012-Feb-08
Using 9999x9998 will give you 480x320 on a non-retina iPhone when using GETSCREENSIZE. On a retina iPhone you will get 960x640.

Cheers

Using this method will set the wrong resolution on an iPad if I only want my maximum resolution to be 960x640 though won't it? Also in the project options as I only want 960x640 as my maximum resolution do I set this to 960x640 even if I want to use 480x320?
Title: Re: Screenshots must be 960 by 640
Post by: spacefractal on 2012-Feb-08
No you cannot do 960x640 resolutuion on iPAD, you need to support 1024x768 too. If you remove iPad in Xcode, then you would only get 480x320 on iPad. This look quite very bad and blocky and can been played clunty too (hence I not play iPhone games on iPad).

But its a really quite easy fix with by just using VIEWPORT and center the screen if 1024x768 is detected (or using a graphics wallborder or such).

Also 480x320 future is soon discounted, so dont relay on that. Upscaling and downscaling can both works, which depend on the graphics content (I use downscaling without issues).

Edit: whactout you doing game control on iPad. If example you use joypad, then it's often need to been scaled down, same with slide kind control. They offen need to been adjusted.
Title: Re: Screenshots must be 960 by 640
Post by: Ian Price on 2012-Feb-08
Erico - I love 320x240 too. Most of my best and fave games were done in that res. Upscaling and downscaling both destroy art - but both in different ways, even worse if filters are used.
Title: Re: Screenshots must be 960 by 640
Post by: hardyx on 2012-Feb-08
Oh my God!! I don't have a 4G device. Retina screenshots are required now, but tomorrow they will not accept 3GS apps. They want to erase no-VIP developers from Appstore.  :(
Title: Re: Screenshots must be 960 by 640
Post by: Ian Price on 2012-Feb-08
QuoteThey want to erase no-VIP developers from Appstore.
I would say that's paranoia, but tbh you're probably not too far from the truth. I'm sure Apple would love to have a machine that only hosts AAA stuff, but that is never going to happen. The problem then would be that creativity will be stifled and there would only be the exact same identical dross we would see on every other machine. Apple needs everyone to develop for them, but they still don;t make it easy for everyone to develop for them. Without those innovators, chancers and total oddballs Apple wouldmn't have an AppStore and there wouldn't be Plants Vs Zombies, Angry Birds or a million and one other games that would never have seen the light of day.

Start pushing the boundaries out of everone's comfort zone and they will soon leave. Apple are very nearly there, especially with the market being saturated with dross. They'll weed out some of it, but there will always be dross. Thank goodness for dross - for that is what makes others strive for stuff that is not dross.
Title: Re: Screenshots must be 960 by 640
Post by: erico on 2012-Feb-09
Quote from: Ian Price on 2012-Feb-08
Erico - I love 320x240 too. Most of my best and fave games were done in that res. Upscaling and downscaling both destroy art - but both in different ways, even worse if filters are used.

but let´s say, my game is 320x240, doubling the pixel size(4x actually) without any filters, won´t destroy the art. you just get fat pixels
If running on desktop of nowadays computers, 320x240 is too small, so scaling up let´s say to 640x480 will do great, to 1280x960 too, no destruction at all.
Title: Re: Screenshots must be 960 by 640
Post by: Ian Price on 2012-Feb-09
Actually, viewing the art doubled on a retina display shouldn't alter it but on an iPad the pixels may look too big and blocky, thus destroying the look of the art without actually altering anything.

Now I love chunky pixels - I was brought up with the Amstrad CPC and still love the way they look. But double that size (yes, I know it's 4x) and it doesn't look quite so nice.
Title: Re: Screenshots must be 960 by 640
Post by: erico on 2012-Feb-09
I see what you mean, playing POWDER on my 1680x1050 ~22"desktop at 320x240 is impossible, I usually scale it up 2x or a little more, if made to fit fullscreen, then it does look too blocky and it looses it´s art/form recognizable aspect, though it dosen´t technically alter the pixels.

But strange enough, that dosen´t happen with kof...maybe I´m a too fan to notice hehe.
Title: Re: Screenshots must be 960 by 640
Post by: Ian Price on 2012-Feb-09
QuoteBut strange enough, that dosen´t happen with kof...maybe I´m a too fan to notice hehe.
Love is blind, so they say =D :P
Title: Re: Screenshots must be 960 by 640
Post by: Ian Price on 2012-Feb-11
Very off-topic, but related to a couple of erico's posts.

Erico - have you seen the news about a new NeoGeo handheld console? - http://forums.gametrailers.com/thread/breaking-news--snk-playmore-an/1273309?page=1


It has 20 NeoGeo games installed from the off including KOF '94


Title: Re: Screenshots must be 960 by 640
Post by: Omadan on 2012-Feb-25
For now 960,480 is just for screens :) for now ;)
just to inform you guys
Thanks