NintendoAge http://nintendoage.com/forum/ -Sqooner PONG (physics) http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=8181 2008-05-18T13:50:34 -05.00 Jero 2 then y = (-y) if then x = (-x) end loop --- You can get fancier by "segmenting" each paddle and modifying x and y by more than 1 when it hits "extremes" of the paddle. If you start the ball motion variables out at 2 and 2, you can do this if then if then x = (-x) else if then x = (-x) and y = (-y) and else if then x = (-x) and ---- Where "near edge" and "far edge" pertains to whether the motion of the ball is coming from the top or the bottom. This way the ball's vertical motion can keep getting faster depending on where you hit it. Also, you can reverse the motion of the ball and slow it a bit by hitting it with the facing edge of your paddle, "throw a curve" so to speak. ]]> PONG (physics) http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=8181 2008-05-17T19:39:20 -05.00 Jero 2 anyway I need some of the ball and paddle gameplay mechanics. Anywhere I could find these?
]]>