Skewing sprites

Started by deltamatrix, Fri 16/03/2007 01:27:07

Previous topic - Next topic

deltamatrix


Hi,

I want to write a function/module that skews a sprite in AGS as there seems to be no native support for this.
I guess the down to earth question is, is this possible? I can't seem to find any rawdraw or dynamicsprite functions that allow me dynamic access to the pixels of a sprite.
BAD WOLF - TORCHWOOD - MR SAXON - THE BEES ARE DISAPPEARING - PANDORICA - RIVER SONG

SSH

RawSaveBG
RawDraw Sprite on it somewhere
Get Dynamic Sprite of first row/column
RawDraw it again with skew
loop until all rows/columns done
Capture sprite
RestoreBG

12

SMF spam blocked by CleanTalk