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

Username:   Password: 
 RegisterRegister   
 Bouncing Balls
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
messi




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

Turing:


<Add your code here>



Please specify what version of Turing you are using
4.1.1
Sponsor
Sponsor
Sponsor
sponsor
Dragon20942




PostPosted: 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.
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 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: