[MODULE] DynamicSprite resizing, rotating & warping using filters

Started by Khris, Thu 19/08/2010 03:22:58

Previous topic - Next topic

Khris

It is not supposed to be used in real-time. It took about one second to draw the picture in the first post on my DualCore 2.7.
I guess it's rather meant to pre-render Viewframes or the like to not have to import countless frames.

Knox

yeah...thats what I thought...well Ill see if I can somehow store it before changing the cursor and just update the sprite instead of redrawing + running that algorithm everytime :P
--All that is necessary for evil to triumph is for good men to do nothing.

Knox

Well I wrote it nnow in a way that I save the resized sprite to a "buffer" sprite and keep that in memory until the item selected has changed, then, in that case, I redraw the sprite. I use t he saved resized sprite to do all my other overlays, so now its only a little slow on the first click of a new selection.

;D
--All that is necessary for evil to triumph is for good men to do nothing.

SMF spam blocked by CleanTalk