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

Pages: [1]
1
NGUI 3 Support / PVRTC non-square atlases are broken
« on: February 04, 2014, 11:35:08 AM »
I have some non square atlases. One of the Android builds uses PVRTC texture compression.

The problem is that PVRTC is not supporting non-square textures, and such textures are scaled up to fill square.

As the result atlas is broken.

Temporary solution is manually change format to RGBA before every build and change back after build. Maybe NGUI can automatically detect such problem at runtime and fix atlas?

2
NGUI 3 Support / Chat example on Flash
« on: January 25, 2014, 06:37:18 AM »
Chat example from NGUI 3.0.9 f5 is not working correctly, when compiled to Flash. Whole screen blinks when only with input caret should. It seems like disabling one object with
  1. mCaret.enabled = !mCaret.enabled;
disables all other objects too.
Some other examples (eg. Control Widgets) also are not working correctly.

3
NGUI 3 Support / Re: Disaster with BetterList performance
« on: November 07, 2013, 03:59:11 AM »
I have around 250 gui objects on game screen. On NGUI 2.x NGUI LateUpdate CPU usage was 10-15%.

On NGUI 3.0.x I have terrible performance - fps is 5-10 times slower. BetterList.Sort is awful. It uses O(N^2) algorithm. In general, why BetterList is better than default well-optimized List?


Array.Sort (O(N*logN)) algorithm from AGB comment helps a bit, but appears next problem with UIPanel.Fill. Total CPU usage on NGU now is around 80%.


I waste one week to port my project from 2.x to 3.x, but now project is broken because of performance. If performance will not be fixed soon, I will ought to search another GUI framework.


Pages: [1]