Computer Science Canada puck movement |
Author: | sensfan_39 [ 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? |
Author: | StarGateSG-1 [ Fri Jun 10, 2005 11:09 am ] |
Post 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. |