Author Topic: iOS (iPad) Screen BUGs (round corners, windowed, buffer video????)  (Read 24953 times)

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
For now I use my OWN rounded squares...

 ;/



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

MrTAToad

  • Guest
I'm surprise that the info didn't fix it  :blink:

Hopefully Gernot can figure how to stop curved corners...

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
I'm surprise that the info didn't fix it  :blink:

Hopefully Gernot can figure how to stop curved corners...

I think GLB run on ipad in windowed mode... you can see xcode log...

Why? I don't know... I started all new xcode projects for iOS using samples included in the SDK from Apple... single page, OpenGL, etc... none have ronded squares...

I tried too compiling for OLD iOS versions such 3.0.... and none...


Are a HOW-TO for starts new project on xcode... and include manually GLB *.a libs???

libGLBasiciPhone-egl.a
libpng-gf.a
libPROGRAM.a
« Last Edit: 2012-Apr-08 by 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 Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
ANOTHER BUG DETECTED!

Hi, testing round corners issue on iPad3 with a friend, he shows me about 1px black line on screen!

Maybe all buffer screen are displaced 1px line?

Remember, the rounded squares of this sanpshot are included with me... for "fix" only 2 rounded corners...

Please check 1px displaced screen problem!



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 Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10851
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Darn. I have to investigate further. Its a real pain.

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Darn. I have to investigate further. Its a real pain.

Thanks... by the way.... rounded corners are related to video declaration?

And... a short/step-by-step HOWTO for create/compile the 3 a lib files produced by GLB on xcode?
I no need explanations, just "tap here or clic on add xxxx".... (I investigate for optimize/compile glb with my hands)

;)

TIA, Hark0

« Last Edit: 2012-Apr-09 by 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 Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10851
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
I think it's the "hidden" input window for the INKEY$ and iCADE support.

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
I think it's the "hidden" input window for the INKEY$ and iCADE support.

 :blink: ?

(I think my english are a bit confuse)
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
The input window is somehow 1px wide and visible

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4025
    • View Profile
    • Space Fractal
I checked various apps.

corners is allways shown when the top statusbar is shown, but gone when its not shown. mostly shown when the top statusbar is shown, Few apps even fill all rounded corners.

apps I tested with iCade support (example Mega Worm) did have those corners too, so its must been that about INKEY$ and iCade. So a idea could been disable that INKEY$/iCade support, and let the dev dedicate its required or not (in option setting), and even possible to enable it in the game settings (which I have seen in some apps, which could been this issue).

Howover its would been better if corners fellow the rotation (so the corners is allways on the bottom), which is I think its have extracly the samme problem with Android when surface change.

Howover the best and the easist fix is simple just fill all 4 corners......

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
I checked various apps.

corners is allways shown when the top statusbar is shown, but gone when its not shown. mostly shown when the top statusbar is shown, Few apps even fill all rounded corners.

apps I tested with iCade support (example Mega Worm) did have those corners too, so its must been that about INKEY$ and iCade. So a idea could been disable that INKEY$/iCade support, and let the dev dedicate its required or not (in option setting), and even possible to enable it in the game settings (which I have seen in some apps, which could been this issue).

Howover its would been better if corners fellow the rotation (so the corners is allways on the bottom), which is I think its have extracly the samme problem with Android when surface change.

Howover the best and the easist fix is simple just fill all 4 corners......

hmmm... The problem are maybe INKEY$ function? It is?  O_O

You can view my fix.... my own rounded squares png... :/
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
yes its can been a hidden input window, which is some odd its can been seen. Not all games require Inkey$ support (as iCade actuelly use), so its could been disabled for those projects not using it (your game seen not need that support anyway example), or could been enable on demand.

The simple fix is use the corner graphics by now. Howover your game would have better without those if you aske me, due the style of your game. But again its better to just intergate it instead.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4450
    • View Profile
    • FUED
...Howover your game would have better without those if you aske me, due the style of your game. But again its better to just intergate it instead.

If Hark0 uses a ´border´ similar to the pixelated black in line of his screenshot, I would´t even notice or bother.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4025
    • View Profile
    • Space Fractal
its its cant been fixed the proper way, this is of course 100% valid and a nice alternative way (and I could do the same in Greedy Mouse as well). That I just mean its due the black border used in the game. But in the end I dont think its a problem at all anyway :-D. So nothing problem.

Its would still been nice to enable/disable the inkey$/iCade support if not required.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline DaCarSoft

  • Community Developer
  • Mr. Polyvector
  • ******
  • Posts: 182
    • View Profile
Actually, I use my own XCode project to workaround this problem.

It is a modification from the GLBasic's XCode autogenerated project, to make my project "Universal" cappable. I did it long time ago, from XCode 3.X early days  :P

If I compile using my own XCode project, I don't have rounded corners or black lines at bottom (tested under iPad 2 and iPad 3)...

I was trying to found the difference between my project and the GLBasic's generated project without luck :(  I can't see any substantial difference related to the rounded corners...

I was testing generating a fresh new GLBasic's project, changing all its XCode parameters without results.

I only can make dissapears the corners and the black line by copying my own (and old) .xcodeproject folder and its info.plist to the new project's folder (the two are renamed, to not have to overwrite anything and avoid problems each time that GLBasic compiles, because I know that some time ago it could overwrite the XCode changes).

Hope this helps to found the bug. Regards.


"Si quieres resultados distintos... no hagas siempre lo mismo" - Albert Einstein.