Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sintua

Pages: 1 ... 3 4 [5]
61
NGUI 3 Support / Re: Layering glitch on Android!
« 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?

62
NGUI 3 Support / Re: Layering glitch on Android!
« 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)

63
NGUI 3 Support / 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

64
NGUI 3 Support / Using Event Listeners?
« on: August 13, 2012, 05:45:30 AM »
I'm sure the functionality is in here, and I'm seeing pieces, but I cant quite figure it out...

Basically, I'm making a whole bunch of buttons and it seems kind of silly to attach a script to all of them that does the exact same thing: tells the menuHandlerScript which button was clicked.

I was udner the impression clicking any button sends out an event, so how do I just have a script that listens for any onClick event then - by reading what gameobject/whatever was clicked, reacts?

65
Ok, that was pretty obvious... I thought they were two different unrelated things; that makes more sense.

Is there any way to refer to the index of the listed items in the menu, rather than the string?

66
I feel like this is stupid-easy and I'm just missing something, somewhere.

I have a popup list of items I've populated with the names of some generated characters. When a character is selected in this list, I want to show their information (picture, description, etc) on the right. I've got everything set up except I don't know how to change the widgets to show the selected character's information. I see popup list has "a targeted eventreceiver and "functionname" but I'm not really sure how to use them, and the documentation didn't really elucidate anything.

What am I missing? :-\

EDIT: Also, I thought this'd be easier than it turned out to be: How do I find the index of the selected item in a popup? I can find the string, but not the index number? (Since the list might have strings that are the same, I wouldnt want to just grab the first whether that's the selected one or not)

Pages: 1 ... 3 4 [5]