Computer Science Canada Bouncing Balls |
Author: | messi [ Sat Mar 01, 2014 2:53 pm ] | ||
Post subject: | Bouncing Balls | ||
What is it you are trying to achieve? I want to make a program where a archer is shooting bouncing balls. What is the problem you are having? I cant figure out how to make the ball bouce like it would in real life. Also i dont know how to move the bow so it can release the string Describe what you have tried to solve this problem I am new so I have no idea how this works. I just know how to draw pictures. Any help is appreciated, thanks. Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) <Answer Here>
Please specify what version of Turing you are using 4.1.1 |
Author: | Dragon20942 [ Thu Mar 06, 2014 11:44 pm ] |
Post subject: | RE:Bouncing Balls |
First of all, do you know about variables and loops? I'd advise knowing about them before proceeding with moving objects. If you already do, then great! use a variable to model the x and y parameters of your ball. How realistic your bouncing is depends on how well you know about physics. You can either choose to adapt a constant velocity approach, or use a constant acceleration. You could even choose to reduce the overall energy of the balls per bounce. |