Author Topic: Layering glitch on Android!  (Read 2884 times)

sintua

  • Jr. Member
  • **
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 63
    • View Profile
Layering glitch on Android!
« on: August 20, 2012, 07:00:11 PM »
I just updated a build of my game because everything was testing fine, but things are most definitely not fine!
The build looks like this on the PC:
https://docs.google.com/open?id=0B-4SkJrON54QTXlQNWdaSlRZOU0


but as soon as it's unpacked and installed on android (I have two different devices, same results) THIS happens:
https://docs.google.com/open?id=0B-4SkJrON54QNVNLYVdwNE5weDA

The confusing part is the previous build works fine! And all I remember changing is swapping out the script XML file! This is some sort of panel layer/clipping issue, as the panel the character is in is set to clip him (not see his feet), another sliding panel shows the items outside the panel clipping, and I guess there's some sort of layering problem thats making the text and buttons disappear. The confusing part is everything else still works. I can scroll the window, and click where the button should be to advance the story.

So.. what might of happened? And how can I get this fixed quick!

EDIT: Well that's annoying. I can see the picture linked on my Google Drive in the post, but other's cant. provided share links in the mean time
« Last Edit: August 20, 2012, 07:28:29 PM by sintua »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Layering glitch on Android!
« Reply #1 on: August 20, 2012, 07:22:55 PM »
Your pictures don't work.

sintua

  • Jr. Member
  • **
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 63
    • View Profile
Re: Layering glitch on Android!
« Reply #2 on: August 20, 2012, 07:25:28 PM »
It seems all I need to do to fix my problem is post here...no matter how long I've been trying to figure it out, it's always "A few minutes after I post" :P

Completely forgot I tried to reduce the API requirement from [2.2 froyo API 8] to [2.1 Eclair API 7].
I can't imagine why this would cause problems with this code in NGUI, but I would still like to fix this problem in a way that lets me get those other 15% of users still on Eclair!

EDIT: (For future reference, can you now see the first image in the post and not just the link? I opened the visibility options a bit more)
« Last Edit: August 20, 2012, 07:29:16 PM by sintua »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Layering glitch on Android!
« Reply #3 on: August 20, 2012, 08:07:45 PM »
Yup I can see it. Maybe 2.1 doesn't support shaders? Looks like you have a clipped panel in there, which will require shaders.

sintua

  • Jr. Member
  • **
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 63
    • View Profile
Re: Layering glitch on Android!
« Reply #4 on: August 20, 2012, 09:38:33 PM »
That would explain the things breaking out of the panels... but why the break in layering? Like the text on the lower panel just dissapearing, along qwith the buttons.... but yet I can still scroll to the bottom to click on the box collider.
Apologies, Don't know if Android API stuff is in your area of knowledge, maybe someone on the board knows about the peculiarities of developing for older builds?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Layering glitch on Android!
« Reply #5 on: August 21, 2012, 12:22:54 AM »
Are you sure the panels are positioned properly, with one clearly in front of the other (transform's position Z)?