Author Topic: nexus 7 ??  (Read 4528 times)

Offline Marmor

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 909
  • 96A285CC
    • View Profile
    • my youtube channel
nexus 7 ??
« on: 2012-Nov-05 »
have anyone testet glb app on this device ?
is it ok to buy this ?

Offline spicypixel

  • Prof. Inline
  • *****
  • Posts: 646
  • Pixel Artist
    • View Profile
    • SpicyPixel.net
Re: nexus 7 ??
« Reply #1 on: 2012-Nov-06 »
Ive got one but not tested any glb stuff on it yet, send an apk and Ill test it :)
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2628
    • View Profile
Re: nexus 7 ??
« Reply #2 on: 2012-Nov-06 »
I've been using one with GLB for over a month now and it's a match made in heaven. GLB is silky smooth on it.  ;)
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline caffeinekid

  • Mr. Drawsprite
  • **
  • Posts: 53
    • View Profile
    • TCKSOFT
Re: nexus 7 ??
« Reply #3 on: 2012-Nov-06 »
Apparently my game doesn't work on it. I just have to add it to the large list of devices it doesn't work on :(

Offline Minion

  • Mr. Polyvector
  • ***
  • Posts: 229
    • View Profile
Re: nexus 7 ??
« Reply #4 on: 2012-Nov-06 »
Yep, all my stuff refuses to work on Nexus 7 too (a shame really as i would prolly would have had about 1,500 sales by now going by all the  cancelations and emails Ive had). Gernot is aware of the problem tho and is beavering away at a solution ;)

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2628
    • View Profile
Re: nexus 7 ??
« Reply #5 on: 2012-Nov-06 »
I wonder why mine works fine? What is the problem you guys are having?
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3679
    • View Profile
    • Space Fractal
Re: nexus 7 ??
« Reply #6 on: 2012-Nov-06 »
Nexus 7 should work. Howover which kind of issues was it?

Here is a x/y resoulution swap issue, which is common in some devices, and glbasic orientation not correct. The x/y swap should have been fixed in next beta. That mightbeen happens here (just like landscape mode on htc desire hd)?

The orientation issue can been fixed by your self. You just need a java call and check its orientation and set orientation to that. I have code for that in bug section.
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline spicypixel

  • Prof. Inline
  • *****
  • Posts: 646
  • Pixel Artist
    • View Profile
    • SpicyPixel.net
Re: nexus 7 ??
« Reply #7 on: 2012-Nov-06 »
Great so I buy myself an Android device to test my GLB stuff as my chinese android device is tortoise fodder and now to hear I've effectively wasted my £160 dev money is not good news.  :rant:

So what exactly is the problem and what is the FIX. I appreciate all the fixes will be in GLB11 but hey we've all purchased GLB<11 how about that working first!!!!!!!!!!!

Sorry just annoyed at what seems to be wasting my money from reading this thread  :x
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3679
    • View Profile
    • Space Fractal
Re: nexus 7 ??
« Reply #8 on: 2012-Nov-06 »
Its due Android have a very akward design how resoulution and orientation works. It's a clear to seen between HTC desire hd and HP touchpad.

Documentation is not good either and each device want do own thing some times. But a GetOrientarion from a java command is your friend, and glbasic not using that (but you can call that your self).

That why I locked my game to portrait mode for now.

I do happy the x/y swap issue should finally been fixed in next beta (hope I see that soon) and then more devices works.  I'm pretty sure most issues with devices is those.

It's might also happens with nexus 7, If not aware of those issue.
« Last Edit: 2012-Nov-06 by spacefractal »
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline spicypixel

  • Prof. Inline
  • *****
  • Posts: 646
  • Pixel Artist
    • View Profile
    • SpicyPixel.net
Re: nexus 7 ??
« Reply #9 on: 2012-Nov-06 »
Its due Android have a akward design how resoulution and orientation works. It's a clear to seen between HTC desire hd and HP touchpad.

Documentation is not good either and each device want do own thing some times. GetOrientarion from a java command is your friend and glbasic not using that.

That why I locked my game to portrait mode for now.

I do happy the x/y swap issue should finally been fixed in next beta (hope I see that soon) and then more devices works. I'm pretty sure most issues with devices is those. It's might also happens with nexus 7, If not aware of those issue.

I will do some tests of my own but if I am interpreting you correctly then setting a landscape mode causes issues with the x/y thus keeping portrait mode x/y is correct?
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2628
    • View Profile
Re: nexus 7 ??
« Reply #10 on: 2012-Nov-06 »
Great so I buy myself an Android device to test my GLB stuff as my chinese android device is tortoise fodder and now to hear I've effectively wasted my £160 dev money is not good news.  :rant:

So what exactly is the problem and what is the FIX. I appreciate all the fixes will be in GLB11 but hey we've all purchased GLB<11 how about that working first!!!!!!!!!!!

Sorry just annoyed at what seems to be wasting my money from reading this thread  :x

I fixed this issue easily by messing with one of the XML files and adding a command to my game init. I'll post the details later.
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3679
    • View Profile
    • Space Fractal
Re: nexus 7 ??
« Reply #11 on: 2012-Nov-06 »
Nexus 7 should itself been run glbasic very flawless. I want that device by my self on the highest list too. Its a cool little device.

But there is still some annoyring bugs, which also can been happens on that device. Its depend of configuration, so I guess the common bug is that one?
http://www.glbasic.com/forum/index.php?topic=7915.msg73286#msg73286

That is a annorying bug in Glbasic, but its should just have been fixed by Gernot, which Im happy for that (a bug I even want to paid for). That bug fix should also fix eventuelly Nexus 7 issues as well in some configuations.

ps. Sorry if I offtyped the thread, its was not meant from me.
« Last Edit: 2012-Nov-06 by spacefractal »
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline fivesprites

  • Mr. Polyvector
  • ***
  • Posts: 101
    • View Profile
    • FiveSprites
Re: nexus 7 ??
« Reply #12 on: 2012-Nov-06 »
The issue with Nexus 7 is that when using CREATESCREEN/USESCREEN you will get similar errors to:

         I/glbasic ( 8665): glBindRenderbufferExt failed 8cd6

which is: 

         GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

I believe this is an issue within GLB whereby it's not defining the correct z buffer component (16bits vs 32bits).

If you do NOT use createscreen/usescreen in your app/game, then it will run perfectly fine on the Nexus 7.

Note: The same also applies to the Asus Transformer.


Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3679
    • View Profile
    • Space Fractal
Re: nexus 7 ??
« Reply #13 on: 2012-Nov-06 »
Nice bug found and well explained. This can been why some people have problems with this device.

Can you post that on the bug section? I think Gernot need to see on that one (if you not allready have did that?), and thinks its mightbeen fixed easy?

I found more info here:
http://stackoverflow.com/questions/3613889/gl-framebuffer-incomplete-attachment-when-trying-to-attach-texture

Could that explain the issue?
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Wampus

  • Prof. Inline
  • *****
  • Posts: 1004
    • View Profile
Re: nexus 7 ??
« Reply #14 on: 2012-Nov-06 »
Pity CREATESCREEN/USESCREEN won't work. There is so much you can do with that. As for orientation issues I haven't experienced any even with GLB version 10 but then I've been sticking to a fixed orientation and editing the manifest.xml file.

Mostly my experience has been that the Nexus 7 runs things so fast & smooth that I get overly ambitious with my code. For example, I wrote a particle engine on the weekend that works wonderfully on the Nexus 7 but the effects it creates can get very slow on an old Nook Color when I've got many hundreds of particles moving, rotating, changing colour, etc. Worth keeping a slower device around just to get a sense of what some users are going to have to put up with.

Some games that have been published in GLBasic don't seem to work. For example, I couldn't get Q*Boyd to start.