Hello people!
As most of you know (I think) I love thinking how games work, so my friend download the "Draw Slasher" game today and I gave it a run... I noticed that the monster's images are being clipped or "cut" in non-rect shapes but triangles or pentagons...
I was thinking how this could be achieved but couldn't figure it out... I'm thinking that with OpenGL you could use some glScissor method, but I'm no OpenGL guru and I was wondering if there's any other non-OpenGL way to achieve this.
So, what do you guys think?
<b>EDIT:</b>
Hmmm... So I did a little digging and came back to the "iPhone developers cookbook" (Great book!!) and I saw clipping paths with CoreGraphics/Quartz... Would it be OK to mix between Quartz and OpenGL??
Any comments would be greatly appreciated!
~ Natanavra.