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

Pages: [1] 2
1
NGUI 3 Support / Re: NGUI Iphone 4 (iOS6) performance
« on: May 28, 2014, 10:31:01 AM »
I found out that the main culprit is Dynamic Fonts!!! I tried to create bitmap font, but I got the Freetype.dylib error! how do I resolve this? thanks

2
NGUI 3 Support / Re: NGUI Iphone 4 (iOS6) performance
« on: May 28, 2014, 07:41:39 AM »
thanks. I did it, the problem still exists..... to clarify , the game runs smoothly in general, but there are occasional hitches which I think are due to label update

3
NGUI 3 Support / Re: NGUI Iphone 4 (iOS6) performance
« on: May 28, 2014, 06:47:42 AM »
thanks for the reply.

Please tell me more about "You use "Application.targetFrameRat = 60" somewhere and have your VSync Count set to "Don't Sync", yes?"

I don't know any of these!  :-[  How do I do this?

4
NGUI 3 Support / NGUI Iphone 4 (iOS6) performance
« on: May 28, 2014, 05:56:48 AM »
Dear all

I have a major problem with NGUI performance on Iphone.

I only have two labels displaying the scores and lives in the game. I did try to add a fancy effect to the text labels (by making them big and changing their colours when the scores and lives change), but it has caused me several days of nightmares trying to figure out what is causing the hitch in my game. I removed the labels, and now everything is running very smoothly.

I really like how easy it is to use NGUI to build pretty GUI, but it slows down the game performance on iphone so much! Is there a way I can improve the performance of NGUI?

thanks!

5
NGUI 3 Support / Re: bizarre situation: objects in Grid not visible?
« on: April 27, 2014, 04:17:54 PM »
I am afraid I still can't solve the problem of the scrollbar showing even there is no item at all in the scrollview..... any idea what may have caused the problem?

thanks!

6
NGUI 3 Support / Re: bizarre situation: objects in Grid not visible?
« on: April 25, 2014, 11:18:53 AM »
the scrollbar problem persists even in situations where there is no item at all in the scrollview......what could have caused that?

I will look into the coordinate changing more carefully! thanks

7
NGUI 3 Support / Re: do something at the end of tween animation
« on: April 25, 2014, 10:50:01 AM »
thanks a lot for your help! you are a star!!!

8
NGUI 3 Support / Re: bizarre situation: objects in Grid not visible?
« on: April 25, 2014, 10:46:36 AM »
I just updated to 3.5.8.... the problem still persists....


further, I encountered another problem. When there is no need for scrollbar, I have again the same email interface behaving differently in two different scenes! In one scene, I can see the scroll bar even if it is not needed (emailScene02.k.jpg). And in another scene, it works fine (emailScene01.jpg). They are the same interface I just copied and pasted from one scene to another... :'(

The scrollview feature seems quite temperamental! or is it me not understanding it fully?? 

9
NGUI 3 Support / Re: bizarre situation: objects in Grid not visible?
« on: April 25, 2014, 10:34:32 AM »
version 3.5.7 I am using.... i figured out the problem, somehow at some point, the Y coordinate of "ScrollView" was changed from 0 (when the email items are visible) to -632.076 (when obviously the email items are invisible...)

I don't why the scrollview coordinate got changed though..... as the only thing I imagine could affect the scrollview is the code I used to update the scrollbar attached to the scrollview:

scrollview.GetComponent<UIScrollView> ().UpdateScrollbars (true);


10
NGUI 3 Support / bizarre situation: objects in Grid not visible?
« on: April 25, 2014, 07:57:24 AM »
Hi

I am trying to implement a simple "email" interface in my game (see the attached picture) and I run into a very bizarre situation. I have two scenes, in scene01, the email items in the grid are visible (see email01.jpg). And then I copied and pasted the same email interface to scene02 and all the emails items disappeared (see email02.jpg). The email items are added to the email interface on Start(). When I examine the Hierarchy of scene 2, I can see all the email item objects clones (under Grid, see hierarchy_scene02.jpg), but they just won't show up in my game!??

Does anyone have any idea what might have caused this?

Regards
Jim

11
NGUI 3 Support / do something at the end of tween animation
« on: April 24, 2014, 08:45:09 AM »
Hi

I am trying to call a function at the end of a tweening animation, but I have no idea how to do this. Is there something like?

void onEndTween(){

}


thanks


12
NGUI 3 Support / Re: scroll view problem with itween
« on: April 09, 2014, 05:40:46 AM »
thanks!! it works now :)

13
NGUI 3 Support / scroll view problem with itween
« on: April 09, 2014, 03:53:13 AM »
Hi there

I have a scroll view , a child object to a sprite (a window, see Pic1). Inside the scroll view, there are several scrollable buttons. All is well, until I implemented scale tween to close and open the window. During the closing and opening scale tween, the scrollable buttons stick out of the scroll view! (see pic 2). I also attached a video to show the problem.

Any clue how this can be addressed?

14
strange. I used tweenposition.playforward and it is now fixed!

15
NGUI 3 Support / 3.5.6 problem with button on click tweenposition.play
« on: April 07, 2014, 05:15:58 AM »
Hi

I just updated to 3.5.6, and my button onclick method to play a tween broke! Now I got an error message that says "AmbigousMatchException"

Any idea what it is?

Pages: [1] 2