Users browsing this thread: 1 Guest(s)
Struggle's Scripts
#10
eh... uhh... it's rather complex... heh
look at GUI.py, line 1049 in __DrawGUI()
https://copy.com/pDilAtFDy2AoMGkt

right now I'm using an older method which kinda relies on order...
but that code I posted earlier was an idea I intend to use

list(reversed()) is slow though >.>

won't matter too much though once I redo the draw-code to recompile a display list on UI-update Cute

EDIT:
line number and function is no longer valid.
the code has been moved to the _recompile function.

EDIT2:

btw, here's a note for ya Smile

try is faster than if, but except is majorly slower than else.
use these wisely as they can have a BIG impact on your program's performance.

EDIT3:
I've created a thread you might find useful on my forum
[Image: banner.PNG]
Reply
Thanked by:


Messages In This Thread
Struggle's Scripts - by Struggleton! - 12-12-2014, 09:38 PM
RE: Struggle's Scripts - by Struggleton! - 12-12-2014, 10:39 PM
RE: Struggle's Scripts - by puggsoy - 12-13-2014, 12:19 AM
RE: Struggle's Scripts - by Struggleton! - 12-13-2014, 12:57 AM
RE: Struggle's Scripts - by Tcll - 12-13-2014, 11:21 AM
RE: Struggle's Scripts - by Struggleton! - 12-13-2014, 12:56 PM
RE: Struggle's Scripts - by Struggleton! - 12-28-2014, 11:33 PM
RE: Struggle's Scripts - by Tcll - 12-29-2014, 05:21 PM
RE: Struggle's Scripts - by Struggleton! - 12-29-2014, 08:47 PM
RE: Struggle's Scripts - by Tcll - 12-29-2014, 09:01 PM
RE: Struggle's Scripts - by Struggleton! - 01-17-2015, 08:25 PM
RE: Struggle's Scripts - by Struggleton! - 01-24-2015, 10:48 PM
RE: Struggle's Scripts - by Struggleton! - 02-17-2015, 06:38 AM

Forum Jump: