I want the shadow to overlap other objects (with the same layer as the own one), but not the own one itself,
and for rotating and expanding I have to calculate every pixel,
so I think it's easier to have all pixelpositions saved in an array.
You can dynamically allocate memory using sys_malloc.
That's the part I need. ^-^
I just don't know how to code that for arrays. I think a little example should do the job.