Computer Science Canada Turing Pong (paddle) |
Author: | Josh_Nguyen2 [ Mon Mar 18, 2013 8:08 am ] | ||
Post subject: | Turing Pong (paddle) | ||
What is it you are trying to achieve? <Replace all the <> with your answers/code and remove the <>> What is the problem you are having? I am unaware of how to add a pong paddle to pong. Describe what you have tried to solve this problem I have attempted to view other forums online but nothing came up for just the paddles 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 <Answer Here> |
Author: | Insectoid [ Mon Mar 18, 2013 8:21 am ] |
Post subject: | RE:Turing Pong (paddle) |
Have you tried drawing a rectangle? |
Author: | Tony [ Mon Mar 18, 2013 12:20 pm ] |
Post subject: | Re: Turing Pong (paddle) |
Josh_Nguyen2 @ Mon Mar 18, 2013 8:08 am wrote: I am unaware of how to add a pong paddle to pong.
There is no Draw.Paddle command. Much in the same way as there isn't a Make.Game("pong"). This requires some thinking. Step one -- describe the paddle in detail (what do you know about it?) |
Author: | Josh_Nguyen2 [ Wed Mar 20, 2013 8:00 am ] |
Post subject: | RE:Turing Pong (paddle) |
Well as of now i was told i must create a pong program for school and i have the bouncing balls but i am unaware of how to move the rectangles on the screen (paddles), Like I don't know how to use the keys to move them, And my teacher is not here for another 2 weeks. |
Author: | Raknarg [ Wed Mar 20, 2013 12:41 pm ] |
Post subject: | RE:Turing Pong (paddle) |
on The Turing Walkthrough I think there's a nice tutorial for Input.KeyDown, which would allow you to do what you're asking. |
Author: | Josh_Nguyen2 [ Thu Mar 21, 2013 9:57 am ] |
Post subject: | RE:Turing Pong (paddle) |
Thanks guys, i appreciate it ![]() |