0 Members and 6 Guests are viewing this topic.
:C>0+C->C
:If C>0:C++:End
Which of these is faster?Code: [Select]:C>0+C->CorCode: [Select]:If C>0:C++:EndBasically it comes down to an If statement, versus an expression evaluated each time.
Is there a faster way to xor two buffers together than with a For() loop?
Is there a way to draw a sprite directly to the screen?
So I don't have to worry about platforms and such being erased. On the same idea, how do I draw mono "transparent" sprites?
In other news, Frey continues kicking unprecedented levels of ass.
So you'll want to create a greyscale sprite like this:Black is where you want blacklight grey is where you want whitedark grey is where you want greywhite is where you want transparencyand just Pt-Mask (under plot for some reason) with the usual arguments.
One-page app capacity (minus the header and signature) is 16160 bytes. I guess you could either do some hardcore optimization or put some data in an external appvar.