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

Pages: [1]
1
Other Packages / Re: HUD Text + camera.rect issue
« on: April 01, 2013, 03:21:17 PM »
You are a rock star!  8)

Here's what I did on line 89:
  1. pos.y = pos.y * .61f + .39f;
It's basically saying that my camera is 61% the size and 39% higher than where it expects it to be. Thanks!

2
Other Packages / [Solved] HUD Text + camera.rect issue
« on: March 31, 2013, 07:05:48 PM »
The game screen is split into 2 parts. The bottom half is all 2d UI, while the top is a 3d scene. To do this I am doing the following on the 3d camera:
  1. camera.rect = new Rect(0f,.39f,1f,.61f);

All works fine except that the HUD text shows up in a different spot than what I expected. In fact, it looks a lot like it's in the right spot if the 3d camera took up the whole screen.

Thanks!

3
NGUI 3 Support / NumbersAndPunctuation not working
« on: March 28, 2013, 09:28:26 PM »
It could be that I'm doing it wrong, but I have a text input set to NumbersAndPunctuation, but it's accepting any characters. Any help would be appreciated! :)

4
NGUI 3 Support / Re: onTextChanged for UIInput
« on: March 28, 2013, 03:46:03 AM »
Solved:

public void OnInputChanged(UIInput UIInputScript)
{

}

5
NGUI 3 Support / [Solved] onTextChanged for UIInput
« on: March 28, 2013, 12:25:17 AM »
First off, I LOVE NGUI. It's saved me sooo much time. :)

I know how to use OnSubmit, but that requires the user to push enter. How do I get it to call a function each time the input changes?

By the way, I'm using c#, but I'm sure I'll be able to figure it out if someone tells me a js solution.

Pages: [1]