Computer Science Canada

problem with targets and mouseclick. Ball border line + target dissapear

Author:  gergysun [ Wed Dec 12, 2007 8:43 pm ]
Post subject:  problem with targets and mouseclick. Ball border line + target dissapear

Hi, Ive got this problem. I'm making a target thingy for school, and ive basically completed the whole thing but, i cant seem to make the target and the ball border line to stay visible after user clicks to launch ball. Any help with be appreciated Very Happy

Code edited out at OP's request.

Author:  SNIPERDUDE [ Wed Dec 12, 2007 9:21 pm ]
Post subject:  Re: problem with targets and mouseclick. Ball border line + target dissapear

Try looking into functions. Most people don't like using these, but it is one option.

Also, please never use a loading bar when it is accually loading nothing.
If a program takes longer than say about 3 - 5 sec, than use a loading bar or let the user know that it is loading.
Because most turing programs load pretty much instantly, loading bars/screens aren't needed.

Author:  HeavenAgain [ Wed Dec 12, 2007 10:08 pm ]
Post subject:  RE:problem with targets and mouseclick. Ball border line + target dissapear

because when mouse is clicked, you called the ball procedure
and the ball procedure only draws the ball, and clears the screen, it didnt draw the boarder or the target


: