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

Pages: [1]
1
NGUI 3 Support / NGUI Label Bottom to Top (Lines) printing
« on: March 05, 2014, 06:10:18 AM »
Hello,
I've been trying to create my own variant of UILabel and NGUIText to fit my purpose with no success.

I've been trying to modify the text print functions in order to be able to have a label print from bottom to top(in terms of lines)

For example:

{
Some Text Fitting
In a Label Of a
Certain Width
}

would look like that

{
Certain Width
In a Label Of a
Some Text Fitting
}

Any support would be highly appreciated.

Best
Joe



2
NGUI 3 Support / Scroll View - Momentum and Spring question
« on: December 03, 2012, 09:15:48 AM »
Hello,
I'm currently implementing a Level selection Panel following Example 7, Scroll View (Panel).
My Elements are spread apart, and not as close as the example (0 , 1000, 2000,3000,...).
I also have Center on Items ticked, so it snaps to the "current" Element.
For it to function more naturally, i had to boost the Momentum up to 130, this works perfectly, but raised a small problem, when the panel moves to the second element, right before it ends (slows down), it "Snaps" into place, making it look as if the movement is not smooth at all, i looked everywhere in the code, tried to control the spring and the strength of it with no vain.
Having the Momentum at 35 (default) works good, but now i have to swipe the whole screen for the panel to move to the next elements (not such a natural feeling).

Here's a video i took of the problem i'm having, i used my phone to capture it, so the framerate drop is not showing the effect to its fullest, but the last 2 drags are clear, I added the video on my public dropbox:
https://dl.dropbox.com/u/7752980/ngui-Momentum.mp4

Any advice would be much appreciated.

Joe

3
NGUI 3 Support / Add Widgets On Runtime that are complex GameObjects
« on: October 08, 2012, 07:56:52 AM »
Hello,
I'm currently instantiating GameObjects (that include Buttons, Grids,...) on runtime using a database. and i'm placing them in a Panel following the Draggable panel example,
Now everything works perfectly, except that the panel has 0 widgets, that's not a problem, except for now, when i want to clip that specific panel,
Should i create a widget variable, add some ui script on my prefab, and use panel.AddWidget on every prefab i add (also knowing that the prefab is not specifically a widget).

Any advice would be greatly appreciated.

Joe

Pages: [1]