Cocossharp Xamarin Pixel perfect collision detection
I'm making a game for Android and iOS using Cocossharp in Xamarin. I have 2 CCSprites
and I need to know if a pixel with a color on one sprite overlaps a pixel with a color on another sprite, but I cannot find a map or an array containing the pixels in the object CCSprite
. Does anyone know if this exists? And where? Or someone can just point me towards an existing algorithm for this kind of work that can be used in a shared project in Xamarin.
+3
source to share
No one has answered this question yet
Check out similar questions: