Joined: 09 May 2003 Posts: 21314 Location: The netherlands
Posted: Fri May 11, 2018 3:37 am Post subject:
redesign the scripts.
e.g use threads instead of timers where possible
don't spawn hundreds of timers
if checking for keystates cache the state in a table if the same key is checked multiple times
if there are hundreds or more options only draw/create the visible ones and reuse existing objects when scrolling (scrollboxes may sound good, but there is a reason CE itself does not use them much)
instead of using gui objects, try rendering everything to a paintbox and handle keypresses/mouse events yourself _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum