if (image_alpha < 1) { image_alpha += 0.12; direction += increase; increase -= 2; } else { image_alpha = 1; } image_angle = direction;