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

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




PostPosted: Fri Jun 10, 2005 10:03 am   Post subject: puck movement

in my air hockey game i can not get the ball to move randomly. i am using graphics.here is my code how can i get it to work?


airhockey.t
 Description:

Download
 Filename:  airhockey.t
 Filesize:  1.78 KB
 Downloaded:  122 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
StarGateSG-1




PostPosted: Fri Jun 10, 2005 11:09 am   Post subject: (No subject)

First off, the puck doesn't move randomly, it is hit and bounces. Second, you need to use procedures, which have a View.Update and cls statement in them. Also you need to set the screen with View.Set and use ofscreenonly. If you are not sure what they are look them up in the help, theya re simple and you need to leanr them for all animation.
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: