@@ -44,12 +44,15 @@ public class Ball {
vx = -1;
else if (rx <= 0)
vx = 1;
+
+ vy += 0.5;
- if (ry <= (Window.HEIGHT - bounceheight))
- vy= 4;
- else if (ry >= (600-size))
- vy = -4;
-
+// if (ry <= (Window.HEIGHT - bounceheight))
+// vy = 4;
+// else
+ if (ry >= (600-size))
+ vy *= -1;
rx += vx;
ry += vy;