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 - redhawk

Pages: [1]
1
NGUI 3 Support / Fonts in Android
« on: July 20, 2014, 08:51:02 PM »
My fonts look terrible on my devices.  I've pulled some nice fonts from dafont.com, used BMFont, imported in Unity, and created my fonts.  I'm trying to use 2 different devices.  One is an old Tablet (so I can test the view on tablets), and the other is an old Galaxy phone (so I can test on older phones).  The fonts look perfect on my computer.  They are very fuzzy on my devices.  Even if I use the Coalition font, it looks bad.  Mainly the fonts look bad on my buttons.

I'm obviously missing some step.  Maybe in my build settings.  Maybe .... I just don't know.

Any advice on what the settings should be?  I've watched a few videos, which made sense, but it still doesn't look good on my Android build.

Using Unity 4.3...blah, and the newest NGUI.  I do not want to upgrade to 4.5 yet.  The Unity version shouldn't really matter.  Maybe I need a different font, but that just seems odd.

2
NGUI 3 Support / Switch from Menus to Standard Elements
« on: October 07, 2013, 01:57:41 PM »
How should I set up my project so that all of my standard NGUI elements are shown during play (like health, health bar, life, Ammo, Experience, Treasure) and only menus when in "menu mode" (like I died, so Main Menu comes up and game is paused, or I hit escape and Main Menu comes up)?

I've watched the videos but I still don't understand how to do this.  I have my "standard elements" all set up and looking really awesome (and functioning well during game play).  Not sure what I need to next so that if I die, or hit escape, the Main menu opens.  I can make the game pause on escape or death, but what next??

Please help :)

3
NGUI 3 Support / UICamera Touch
« on: February 04, 2013, 09:59:16 PM »
Does anyone have a helpful example script that talks to some of the UICamera touch events?  Not just for Buttons, but for sprites too.  I see with Buttons you can add UIButtonMessage, but it would be nice to get something a little more open that allows me to check any touch on the screen using a for() statement.

4
NGUI 3 Support / Button sending message to custom script
« on: February 04, 2013, 11:04:46 AM »
I believe that I have this solved, but I'm not sure if this is the best way to do it.

I created a super basic custom button.
- I added the UIButtonMessage Script
   - 1st instance = Target = myObject, FunctionName = customStart, Trigger=OnPress
   - 2nd instance = Target = myObject, functionName = customStop, Trigger=OnRelease

I have a GameObject which I call myObject which has a basic script.
  - custom function function customStart() - sets myVar = 1;
  - custom function function customStop() - sets myVar = 0;

My debug logs tell me this works on both Windows and my Android device (ie press button = 1, release button = 0).

Is there a better way to do this?  I've been digging around for a few days and this is all I've found that really works.

Pages: [1]