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

Username:   Password: 
 RegisterRegister   
 Turing Pong (paddle)
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Josh_Nguyen2




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

Turing:


<Add your code here>



Please specify what version of Turing you are using
<Answer Here>
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Mon Mar 18, 2013 8:21 am   Post subject: RE:Turing Pong (paddle)

Have you tried drawing a rectangle?
Tony




PostPosted: 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?)
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Josh_Nguyen2




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




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




PostPosted: Thu Mar 21, 2013 9:57 am   Post subject: RE:Turing Pong (paddle)

Thanks guys, i appreciate it Smile
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  [ 6 Posts ]
Jump to:   


Style:  
Search: