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.

Topics - artician

Pages: 1 [2]
NGUI 3 Support / Hierarchical Scale Inheritance
« on: September 20, 2012, 04:37:45 AM »
Can someone please explain how child objects in NGUI inherit their parents scale? 

I am following the Scrolling View writeup.  In it I'm instructed to add a child-Panel to the main Panel.  I've done this, but I'm unable to add anything directly to this child-Panel afterward.  What I've ended up doing is creating the objects as normal (attached to the original Parent Panel), and then dragging them into the child-Panel to parent them to it.

Whenever I place an object beneath another NGUI object like this, its scale is reset to 0.  If I try to manually correct that scale, it's unreliable and the graphic distorts. 

Am I doing something wrong?  If not, can someone please explain the logic behind the scale inheritance and how I should go about fixing my, labels, sprites and sliced sprites?

Thank you very much!

NGUI 3 Support / Gamepad interaction question
« on: July 27, 2012, 06:10:07 PM »

I have a horizontally scrolling list of items in my project.  I would like that the player can press left and right on the controller and it would immediately scroll the list in that direction.  However the way the UIButtonKeys script seems to work is that this only selects the buttons.

I thought/hoped that the "Starts selected" checkbox meant it would activate the button being selected at the same time, but obviously not.

Can anyone suggestion how I can achieve this functionality?  For what it's worth I am trying to maintain dual functionality between mouse and keyboard, and gamepad controls.


NGUI 3 Support / Black, incorrect alpha in font
« on: July 22, 2012, 08:43:15 PM »
This *must* be answered on here somewhere, but I couldn't find anything so here goes another stupid question (I'm 2 for 2!)

My font is appearing like so:

As always, thanks in advance for any help.

NGUI 3 Support / BMFont Stupid Question
« on: July 22, 2012, 06:17:54 PM »
Hi, I just..  don't know what to say about this one.  I can't figure out the presumably very simple task of creating an NGUI font/text asset with BMFont on Windows.  There doesn't seem to be any indication of how to actually EXPORT the damn thing.

I have used the option of "Save Bitmap Font As..." which produces an .FNT file, but this file does not appear to be the "Text Asset" file type that NGUI Font Maker is looking for.  I see in the export options, but no actual Export command.  I looked into the command line functionality of the application as well, but found no succor.

I also can't find any information on the step-by-step actions required for this, which means it must be a massive red button right in front of me and I'm too stupid to see it.  Can anyone offer me some advice? 

Thanks in advance!

Pages: 1 [2]