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

Username:   Password: 
 RegisterRegister   
 Collision Detection and Bounces
Index -> Programming, Turing -> Turing Help
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
JumpingLimaBean




PostPosted: Fri Jun 10, 2011 11:29 am   Post subject: RE:Collision Detection and Bounces

I am trying to place number 1 into the first circle and follow it.


Then place the number 2 into the second circle and follow it
Sponsor
Sponsor
Sponsor
sponsor
Zren




PostPosted: Fri Jun 10, 2011 2:31 pm   Post subject: RE:Collision Detection and Bounces

What would you do if you wanted to draw another circle on top of the original circle? You'd use the same coordinates. Since the coordinates are variables, you'd use the same variables.

Draw.FillOval(x,y,r,r,red)
Draw.Oval(x,y,r,r,black)

Instead of another circle, it's rendered text.

Centering the text on the circle is secondary though...
JumpingLimaBean




PostPosted: Fri Jun 10, 2011 3:11 pm   Post subject: RE:Collision Detection and Bounces

Thanks it worked. It was so easy, dont know why i didn't think of that myself.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 18 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: