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

Pages: 1 [2] 3 4
16
NGUI 3 Support / Converter to new uGUI?
« on: September 28, 2014, 05:59:58 AM »
Is something like that would be possible to do?

17
NGUI 3 Support / proper anchoring of grid with elements
« on: September 10, 2014, 07:12:44 AM »
Can somebody help me in order to get anchoring properly for gird that is full of elements and needs to be centered properly (problem arises when using resolutions like 1024x768)

check out the picture!



1.) need that grid at the given distance from the edges (centered) but elements inside scaled properly
2.) there will be rows of grids not just one, how to anchor those?
3.) is it Fixed size way to go?

here is the setup i tried:
UIRoot
 Panel
  widget (anchors to UIRoot -> uniform)
    grid (anchors to widget -> uniform)
     [elements]

elements and grid doesn't scale but there is a overflow.
thanks!


18
NGUI 3 Support / UIRoot - new scaling options?
« on: August 22, 2014, 02:33:28 AM »
HI!

I updated to the latest 3.7.0 and I am confused with new UIRoot scaling options. It automatically selected "Constrained" with fit checked for width (800). Is this the same as Fixed Size with 800 height? Is it going to affect what I have so far, in other words is it safe to update or I should revert the changes?

thanks!

Also can you update the documentation, so that we can understand what new options represent!

Thanks!

19
NGUI 3 Support / Future of NGUI?
« on: June 01, 2014, 04:52:56 AM »
What's your plan Aren? I am sure that I am not the only one that wants to know this

Thanks!

20
NGUI 3 Support / Eventtrigger arguments
« on: May 17, 2014, 04:40:13 AM »
I am using uieventtriger script and its quite nice, i place target controller go and choose a method that i want but as argument i can sometimes choose only <GameObject> and sometimes components but only like this collider.gameObject and similiar. Is it going to be possible to choose a property as argument or something like that?

Thanks!

21
NGUI 3 Support / Dynamic fonts downsides?
« on: May 14, 2014, 11:24:41 AM »
Hi!

I recently started using dynamic fonts instead of imported bitmap fonts from bmfont. I am wondering are there any downsides of using dynamic fonts? Currently i see the size of font increased to over 10MB for simple header title (i was wondering is it because of the shrinking when setting it up, does it pick up all sizes because of that?). I also see that it isn't crisp all the time.

What is the correct workflow with dynamic fonts?

Thank you all!

22
NGUI 3 Support / Getting current position in Slider?
« on: April 27, 2014, 04:55:12 AM »
Hi!

I have a level progress bar with UISlider setup. As time progresses (level) slider moves to the end, I want to be able to mark certain points on the slider, for example sections of the level that are reached. In order to do this I need position of the right edge of the slider bar, then I should be able to instantiate a sprite over slider to mark that position.

Any ideas how to do it? Thanks!

23
NGUI 3 Support / Property Binding not working?
« on: April 21, 2014, 11:54:01 AM »
Hi!

I wanted to try property binding so i used PropertyBinding script but there is no place to drop the object i want property from. Is this some kind of restriction for Unity 3.5.7?

please check out the image




24
NGUI 3 Support / Anchoring widgets with 3D root
« on: April 19, 2014, 08:05:04 AM »
Hi! anchoring works very well with 2d setup and works as expected but i wanted to try 3D and spice it up a bit ;-)
basically i have health bar that i rotated a bit and trying to anchor to top left corner as it was with 2d setup. results are inconsistent and values are odd.

here is my setup

UI Root(3D)
 Camera (perspective)
 Panel (UIPanel)
  HealthBar (UISprite/UISlider)

I am trying to anchor to both UIRoot or UIPanel with unified anchor type, but it does not give me good results. I usually first move widget without anchors and then turn the anchors on and hopefully i get values setup for the position.

I am using latest NGUI but with Unity 3.5.7 (Should this anchoring work properly with perspective camera? and if so what is the proper way of doing it?)

Thank you very much!
   

25
NGUI 3 Support / Scrolling background with NGUI
« on: April 15, 2014, 11:39:35 AM »
Any experience with implementing scrolling background with few layers for foreground,midground and background
but with the respect of aspect ratio?

I though about anchoring to root and using height, so it is the same with for all aspect resolutions?
any ideas?

thank you!

26
NGUI 3 Support / What font sizes are you using for SD,HD and UD?
« on: March 25, 2014, 02:50:50 AM »
Hi!

What font sizes are you using for SD,HD and UD? What makes sense the most?

27
Hi!

I managed to figure out how to properly switch atlases in run time but I have few questions about the pipeline.

1.) Is it ok to start making SD atlas with 480 height? This way I could easily work in editor?
2.) What actual dimensions you take for SD,HD or UD sprites. For example what is enough for squared sliced sprite
3.) What actual dimensions you take for SD,HD or UD fonts?
4.) Naturally, I would need to created vector version of sprites so it scales properly? Scaling down from UD atlas does not give good results, right?


28
NGUI 3 Support / Replacement for SetAlphaRecursive
« on: March 19, 2014, 10:16:13 AM »
Hi! I have this code which doesn't work any more in NGUI3+
I picked it up in here in forums and adopted it. Now I updated to NGUI3 and it doesn't work.

Here is the line of code that I don't know how to fix:

  1. p.SetAlphaRecursive(Mathf.Clamp01(p.alpha + RealTime.deltaTime * 2.5f), false);

I guess that i would need to use p.alpha directly

29
NGUI 3 Support / sort of simple data binding?
« on: January 14, 2014, 01:12:04 PM »
Hi!

I was looking TweenPosition script and there is a option to put mono script for OnFinished field and then to choose a delegate to execute on OnFinished event.

I could not figure out how that works (I know how to use it but don't know how to script some functionality like that)
I need something simpler though, instead of delegates i would need a list of floats or some other variables to choose from. How can i achieve that?

Thank you!

30
NGUI 3 Support / mac & windows different colors?
« on: January 09, 2014, 01:49:58 PM »
I have very different colors on mac and windows. colors on mac appear darker and since i am developing on mac it looks good but when i try on windows colors are much brighter and with much more contrast and i don't like that! how to make them the same?

i first thought it was linear vs gamma so i changed to linear color space but it seems that difference in colors remains (it is somewhat changed)

How can i verify this? How i can know if my window monitor is properly calibrated etc... any info is highly appreciated!
thanks!

Pages: 1 [2] 3 4