Color Collision

mumbot

Member
Joined
Oct 3, 2012
Messages
5
Programming Experience
3-5
Hello all i am wanting to know how to make a Picturebox called spritebox to move to center screen
if the spritebox is touching the color cyan
 
You seem to be trying to post as few words as possible at the expense of clearly explaining your problem to people who have no knowledge of it. By "on top" do you mean that this colour will be on the form containing the PictureBox, on the desktop, on any window at all, something else? FULL and CLEAR please.
 
When the picture box Collides with Cyan so i tried something like this

PHP:
 if (spritebox.BackColor == C)
            {
                spritebox.Location = new Point(310, 300);
            }
but that does not work
 
Back
Top Bottom