YAY, my first thread.
Alright, I'm making a sniper game. The problem I'm having is that I want the "target" (right now it's just a circle) to appear as if it is inside the window.
So far I have it so you click on one of the two targets and it randomly places itself somewhere else. This kind of works but, the target can appear between windows and it is always the same size.
What I want:

If the target is in a small window(far away) it becomes smaller (x and y scale)
If the target is in a medium window (closer) it’s medium sized (x and y scale)
Ect.
When the target is clicked it randomly moves to a different window.

I’ve thought of making my windows MCs and doing this on hitTest and keeping the random placement but, then what happens if it hits two windows??
I also thought this might be what an array is for. Then I read some tut’s and I’m not sure it would apply in this situation.
Thanks for the help in advance.
And if you think I should be using an array can you direct me to a good tutorial.