palette

Post Reply
OdnetninI
Posts: 19
Joined: Sat Nov 20, 2010 12:38 pm

palette

Post by OdnetninI » Fri Jul 08, 2011 4:24 pm

hello
I have a question:
How I can reconize the color of a pixel of background?
example:
I have a background black except one pixel magent
I need reconice if sprite x y is in this pixel
but I don't want if(x==565 && y==362)
I want anything that reconize de color of pixel I want

zeromus
Posts: 212
Joined: Wed Mar 31, 2010 6:05 pm

Re: palette

Post by zeromus » Sat Jul 09, 2011 6:08 am

Its not possible. Do it the way you don't want to do it. It's the right way. Keep track of your special positions independently from your art. Make a separate PC program to analyze your art ahead of time if you are unwilling to do it manually.

OdnetninI
Posts: 19
Joined: Sat Nov 20, 2010 12:38 pm

Re: palette

Post by OdnetninI » Wed Jul 20, 2011 3:54 pm

not find a way to get it

Post Reply

Who is online

Users browsing this forum: No registered users and 76 guests