Computer Science Canada need help with this program... |
Author: | noradII [ Thu Jun 01, 2006 3:50 pm ] | ||||
Post subject: | need help with this program... | ||||
how am i suppose to make this program
into a program that that have a ball that starts at the top of the screen so that its centre moves to the position it would move to under gravity in each step of the animation.
|
Author: | Cervantes [ Thu Jun 01, 2006 4:11 pm ] | ||
Post subject: | |||
You could use the kinematic formulas, or you could actually simulate the gravity. Consider the following code:
|
Author: | noradII [ Thu Jun 01, 2006 4:17 pm ] |
Post subject: | |
o boy, where should i get a newer version of turing @_@, view.update dont work on my turing |
Author: | Tony [ Thu Jun 01, 2006 4:20 pm ] |
Post subject: | |
you need version 4 or above. You can usually get it from your school. If they don't have it, let them know it's time to upgrade. Otherwise you can get your own copy from Holtsoft. Or just take the command out. View.Update just draws from the double buffer to remove flicker in animation, doesn't change the actual program. |
Author: | noradII [ Thu Jun 01, 2006 4:25 pm ] |
Post subject: | |
cool, thx...gotta remember to bring a disk to school next day [evil laugh] |