Author Topic: iPad 3 Retina Support  (Read 18829 times)

Offline tuncy

  • Mc. Print
  • *
  • Posts: 3
    • View Profile
iPad 3 Retina Support
« on: 2012-Apr-19 »
Hi,

Does GLBasic support iPad 3 Retina?

Thanks

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10851
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: iPad 3 Retina Support
« Reply #1 on: 2012-Apr-19 »
I have no idea. Send me one, and I'll tell you.

Offline Sokurah

  • Mr. Polyvector
  • ***
  • Posts: 177
    • View Profile
Re: iPad 3 Retina Support
« Reply #2 on: 2012-Apr-19 »
I have no idea. Send me one, and I'll tell you.

 =D
Website: Tardis remakes / Mostly remakes of Arcade and ZX Spectrum games. All freeware. :-)
Twitter: Sokurah

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4025
    • View Profile
    • Space Fractal
Re: iPad 3 Retina Support
« Reply #3 on: 2012-Apr-19 »
Hehe. Hopefully you can loan one from your country for testing.

But its seen no one have still not have tested it out with real Retina support yet. But its should works out of the box, if you ask me, but you might need to change resoulution in the option of course as well update to newest xCode SDK.

But with normal resoulution with "The New iPad", there have not been any problems at all and run perfectly.

I cant tell before juni to tell how Greedy Mouse (look under annonce) perform on that, but the game would been designed to could run in that resoulution too.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: iPad 3 Retina Support
« Reply #4 on: 2012-Apr-20 »
Hi.... If you take a look at my blog... you can find a snaphot of my GLBasic project running on a iPad3 with retina...

The snapshot:



I no declared retina resolution.... and the device shows the app correctly... at half size  :P

I made changes for retina soon... modifiing my graphics, touch routines etc...


My conclusion are: YES, GLB can use retina display ;)
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4025
    • View Profile
    • Space Fractal
Re: iPad 3 Retina Support
« Reply #5 on: 2012-Apr-20 »
opps :-D, you dosent have set 1024x768 in the project option? But that issue does shown Retina is different supported. Completly Nice.

Do you really need to rework the graphics, but just use offscreen, since game like this should not effect speed or such think on that device?

Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: iPad 3 Retina Support
« Reply #6 on: 2012-Apr-20 »
opps :-D, you dosent have set 1024x768 in the project option? But that issue does shown Retina is different supported. Completly Nice.

Do you really need to rework the graphics, but just use offscreen, since game like this should not effect speed or such think on that device?

No no.... my project as initially for 1024x768.... a friend @Dacarsoft are making some test of my app on his new i3....  =D

Just make 2X grfx.... and adjust touch XY pos.... use GETSCREENSIZE for select device.... and voilà   :-*
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10851
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: iPad 3 Retina Support
« Reply #7 on: 2012-Apr-20 »
So... how would I run a 1024x768 app on hte iPad3 now? I'm confused.

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: iPad 3 Retina Support
« Reply #8 on: 2012-Apr-20 »
Currently.... the snapshot you view in post.... are declared with 1027x768 screen
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4025
    • View Profile
    • Space Fractal
Re: iPad 3 Retina Support
« Reply #9 on: 2012-Apr-20 »
Its someone weird! I say that as I heard Snake Snider Light ran perfectly on the same device, but did not used Retina iPad graphics.

So I must guess its must automatic been happens when you upgrade to Lion and using the newest xCode, but still only using 1024x768 as max resoulution when you use older SDK (which make seance).

I also upgradeded to Lion and newset xCode too, so I hope Greedy Mouse run perfectly with iPad Retina graphics too and also a nice framerate too.
« Last Edit: 2012-Apr-20 by spacefractal »
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4025
    • View Profile
    • Space Fractal
Re: iPad 3 Retina Support
« Reply #10 on: 2012-Apr-22 »
Confirmed!

Finnaly I got a Screenshot how Greedy Mouse look on iPad Retina screen:


No more than excellent, and its very sharp and the game could run at 60fps too (but it still have some remaining placeholders). Normal the game is target as 30fps.

Also the tiles texture size used here is 4096x4096.
« Last Edit: 2012-Apr-22 by spacefractal »
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Re: iPad 3 Retina Support
« Reply #11 on: 2012-Apr-24 »
My game runs great on iPad3, I used SETSCREEN 768,1024 at the top of my code and it runs full-screen on my iPad3 just like it does on my iPad2.
Apps published: 3

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: iPad 3 Retina Support
« Reply #12 on: 2012-Apr-24 »
Please post complete # version of Xcode please.

TIA, Hark0

 ;)

http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4025
    • View Profile
    • Space Fractal
Re: iPad 3 Retina Support
« Reply #13 on: 2012-Apr-24 »
I use the newest version (not remember in head) and updated once throught Mac AppStore and with Lion. Here I do not checked to see what is happens when using 1024x768 for Greedy Mouse (and I cant check that). Only if its could support Retina or not.... Then its supported it out of the box.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline DaCarSoft

  • Community Developer
  • Mr. Polyvector
  • ******
  • Posts: 182
    • View Profile
Re: iPad 3 Retina Support
« Reply #14 on: 2012-Apr-24 »
Hi...

For me, GLBasic shows 2048 x 1536 under iPad 3 (or "new" iPad...  :P)

I can't force in any way to show 1024 x 768 as a 2X application...   it shows the app using retina resolution ever, just like the screenshots that Hark0 showed before. The image from games is showed in the top right corner (looking with the iPad in normal portrait) and the touch events are correct for the images...

Using SETSCREEN 1024, 768, 1 (or 0) appears to not have effect...

All my tests are done with Lion (10.7.3) and XCode 4.3.2

EDIT: I think that should exist a parameter that could be included in the info.plist of the XCode project to scale 1024x768 graphics up to 2X.

« Last Edit: 2012-Apr-24 by DaCarSoft »
"Si quieres resultados distintos... no hagas siempre lo mismo" - Albert Einstein.