I need help makeing the ball hit the bottom and bouncing back up. I tried this but it just hits and stays in one spot which i know why but what else would i do?
public void ballmove()
{
y += 1;
if (y == 420)
{
y -= 1;
}
}