Jump to content

Question about GUI.


Recommended Posts

Posted

Hello everyone.

I've got a question about creating many GUI elements at once.

Well, recently I've started working on "Achievements", and I need to create many GUI elements at once ( 28 right now ), and when I open the "Achievements" GUI, the game freezes for many seconds.

Now my question is, is possible to fix the "lag" when I open the GUI?

Thanks in advance.

IF YOU DON'T KNOW WHAT I'M TALKING ABOUT, JUST DON'T REPLY. ( I'LL REMOVE POSTS THAT HAS NOTHING TO DO WITH THIS )

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

That's what I thought, I guess players will have to wait some seconds to see the GUI, thanks for your answer.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
That's what I thought, I guess players will have to wait some seconds to see the GUI, thanks for your answer.

You´re welcome :)

Need paid scripter just pm me i will accept every job!

Posted

I have this problem many times ago with my user panel.

I fix the problem with resize the images, type 526x526 to 256 or 128x128 I forget.

Maybe dx function is better for the project with many images.

Posted

You're right, I replaced the images with another element and the lag is just 1 second now, thanks a lot.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...