Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 problem with targets and mouseclick. Ball border line + target dissapear
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh pageAdd this topic to your bookmarks (CTRL-D) View next topic
Author Message
gergysun




PostPosted: 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.
 
Sponsor
Sponsor
Sponsor
sponsor
SNIPERDUDE




PostPosted: 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.
 
HeavenAgain




PostPosted: 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
 
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh pageAdd this topic to your bookmarks (CTRL-D) View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: