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

Pages: [1]
1
NGUI 3 Support / Re: GC Alloc sky-rocketing.
« on: June 18, 2014, 04:03:21 AM »
Uhm.. I just updated Ngui, and that seems to have completely solved the issue...

but, it also removed allocation on some of the "non panel" tweens.
should I continue putting stuff in panels? or only when it allocates?


2
NGUI 3 Support / Re: GC Alloc sky-rocketing.
« on: June 17, 2014, 07:02:23 AM »
Thank you for the detailed answer Nicki,

But, I'm having some problems with this in practice.
I'ts still allocating when I move the panels. (smaller amounts, 2-100kb depending on the size of the panel).

I've tried both using tweens and animations.

What could i be missing here?

(it also allocates ~150kb/frame when i scroll in a scrollview)
 

3
NGUI 3 Support / Re: GC Alloc sky-rocketing.
« on: June 13, 2014, 09:53:14 AM »
The alloc is the same, both in standalone and editor.

Ah, thank you...

So basicly all my optimization trying to reduce the draw-call's (only got 2 in my gui) is the thing thats killing me.

Which means that a low number of drawcall's Isn't necessary equivalent to good preformance?

So I need to wrap all my moving objects in panels, and preform the tweens on them, is that correct?

that would result in alot more draw-calls, but I guess I can go alot higher then 3, without any issues.

4
NGUI 3 Support / Re: GC Alloc sky-rocketing.
« on: June 12, 2014, 08:04:46 PM »
anyone? :)

5
NGUI 3 Support / Re: starting on Ngui with multiple resolutions
« on: June 12, 2014, 07:00:41 AM »
Set the UIRoot to Fixed size.
that will take care of the height.

as for the width, you need to anchor elements to the UI Root, for them to appear accordingly.

you could make UIWidget container anchored to Left, right etc. and then anchor the children to the widget.

6
NGUI 3 Support / GC Alloc sky-rocketing.
« on: June 12, 2014, 06:01:10 AM »
Hi,

I have some problems with Allocation.

Everytime I tween something my GC Alloc goes as high as 250KB (on UIPanel.LateUpdate())
I have alot of gui-elements with various tween effect. (clock ticking, menu "side-scrolling" transsisions, Ping-pong scale effect on some sprites etc.)

Why is this happening and how can i prevent it?
would it help to swap out the tweens for animations?


Thanks.

Pages: [1]