Castillo Posted July 2, 2012 Share Posted July 2, 2012 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 ) Link to comment
TheIceman1 Posted July 2, 2012 Share Posted July 2, 2012 You cant fix it you can fix it only if you buy better PC and have better connection and if you delete some elements Link to comment
Castillo Posted July 2, 2012 Author Share Posted July 2, 2012 That's what I thought, I guess players will have to wait some seconds to see the GUI, thanks for your answer. Link to comment
TheIceman1 Posted July 2, 2012 Share Posted July 2, 2012 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 Link to comment
HunT Posted July 2, 2012 Share Posted July 2, 2012 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. Link to comment
Castillo Posted July 2, 2012 Author Share Posted July 2, 2012 You're right, I replaced the images with another element and the lag is just 1 second now, thanks a lot. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now