We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am drew crosshairs and i want to make it that every time I click on the mouse it will "pop" an ellipse(it deletes the object that the crosshairs are over).
Answers
you need to give us more information, ideally the code you have so far.
we won't write your assignment for you, not even for money*, but we can tell you what's wrong.
(* this, unfortunately, isn't true)
here is what i have so far.
ellipse(width/2,530+a,30,30);
i guess you haven't read the other thread then... about using a variable for x position of balloon.
anyway, when you press the key you need to work out if the mouseX and mouseY are within the balloon and if it is then move the balloon back to the bottom. and increment the score, if you have one.
you know the mouse position, you know the balloon position, you know how big the balloon is...
That's what I said in the other thread. Bad idea to ask the same question in different threads, it is just a loss of our time.
please use other thread:
http://forum.processing.org/two/discussion/1029/spawning-random-objects