Author Topic: Window flash  (Read 4816 times)

xiexbmu

  • Guest
Window flash
« on: July 24, 2012, 05:38:50 AM »
Window in the first display will flash, how should I avoid?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Window flash
« Reply #1 on: July 24, 2012, 05:49:57 AM »
I don't understand the question.

xiexbmu

  • Guest
Re: Window flash
« Reply #2 on: July 24, 2012, 06:01:57 AM »
When open a window at the first time, i can see it with incorrect pos and size. It last for a very short period, maybe only one frame, then its pos and size become correct. It is a bad experience. How to eliminate it?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Window flash
« Reply #3 on: July 24, 2012, 06:53:46 AM »
Have it start off-screen somewhere.

Vertigus

  • Guest
Re: Window flash
« Reply #4 on: January 07, 2013, 08:30:53 PM »
Have it start off-screen somewhere.

Seriously, this is the solution?  I bought this tool (fortunately during the half price sale) so I could make GUIs simply. It has been nothing but a struggle to get anything to work right. I shouldn't have to go to a forum to get help on simple tasks. Especially for something as simple as activating a window and having it not flash. So far I would have had better luck making my own.  Just... sad.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Window flash
« Reply #5 on: January 07, 2013, 11:07:32 PM »
UIPanel has a Refresh() function that will update everything immediately. Of course if the widgets were just activated, you may also need to panel.Broadcast("CreatePanel") first so that widgets add themselves correctly.

Every tool has a learning curve, Vertigus. If you don't like it and think your $47.50 will not save you time versus rolling your own UI solution, then by all means -- create your own. Make it all that you want it to be, then do support for it and face the criticism of others who each have their own opinion of how things should work. I'll give you a heads up though -- you can't please everyone, and you can't teach people who don't want to learn.

Cripple

  • TNP Alpha
  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 117
    • View Profile
Re: Window flash
« Reply #6 on: January 08, 2013, 03:43:55 AM »
Seriously, this is the solution?  I bought this tool (fortunately during the half price sale) so I could make GUIs simply. It has been nothing but a struggle to get anything to work right. I shouldn't have to go to a forum to get help on simple tasks. Especially for something as simple as activating a window and having it not flash. So far I would have had better luck making my own.  Just... sad.

Wow, are you serious ? You can't be serious right ?

How can you whine that much about having to learn how to use a tool ? Arenmook takes the time to answer the question (10 mins for the first answer and 1 hour to get the solution) and all you do is bashing him and blaming NGUI. I really feel bad for him right now.

NGUI is an amazing tool which saves you a fuck load of hours of work at a cheap price.

Game development is not just 'Click on a button, this build my game'. You have to learn, use tools, learn learn and learn.
« Last Edit: January 08, 2013, 03:45:44 AM by Cripple »
Graphicstream Dev.

Vertigus

  • Guest
Re: Window flash
« Reply #7 on: January 08, 2013, 07:18:07 AM »
...How can you whine that much about having to learn how to use a tool ?...

NGUI is an amazing tool which saves you a fuck load of hours of work at a cheap price.

Game development is not just 'Click on a button, this build my game'. You have to learn, use tools, learn learn and learn.

I'm not whining about having to learn how to use a tool. I'm whining about having to do hacks to get something as simple as activating a window to work properly. That's not something I should even have to think about.

And yes, I'm quite aware that game development isn't just clicking a button. I've been writing code for a very, very long time, and have a couple of semi-successful games under my belt (successful by my terms anyway). 

Anyway, I apologize for my post - I know ArenMook is putting in a lot of work on this. It was a moment of weakness.