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 - Acheron Studio

Pages: [1]
1
NGUI 3 Support / Re: UIAtlasMaker exception
« on: March 04, 2014, 05:17:55 PM »
So I just got this issue today. It seems to have sorted itself out, so I can only supply what I 'think' I did, and what I think might potentially be the issue.

Here's the original story:
My textures were of Texture Type: GUI
My resulting atlas was of 2k x 4k (considered 'large' when it gets to around 4k)
It would halt on the updating bar while also throwing the error about Texture2D.

Here were 2 things I did that seemed to fix it (not suggesting it's the solution, just saying that after I did these, it worked. Might  be a clue):
I changed my textures to be of type Advanced and made sure Non power of 2 was set to None.
I added one less texture so that my resulting atlas was only of size 2k x 2k

I'm not using Uni2D or anything like that. I'm on the latest version of Unity and NGUI - or at the very least, on a very recent version.

Hope this helps. Cheers.

EDIT:

Completely disregard what I said. Apparently this still happens.

However I can confirm that clicking the Add/Update All button again after it was halting on the Updating progress bar did in fact complete the Atlas.

2
NGUI 3 Support / Re: Animating panel alpha through Unity
« on: February 13, 2014, 09:04:46 PM »
Previous versions of NGUI allowed animating the mAlpha property, so the reason it shows up in the editor is probably because it was set up before updating.

I personally preferred it when you could animate it using the property in UIPanel.

I'd like to suggest these two improvements to make AnimatedAlpha a little nicer to use:

Add a [Range(0, 1)] tag to alpha so that you get a nice draggable interface in the editor
Add [ExecuteInEditMode] to the class so you can see fading changes while playing and debugging animations in the editor

Apart from some strange changes, recent updates have been great :) I personally really like the addition of nested panels being affected by the alpha of its parent. Much needed addition!

Pages: [1]