diff options
Diffstat (limited to 'pong.c')
| -rw-r--r-- | pong.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -150,11 +150,11 @@ int main(int argc, char ** argv) { SDL_Delay(1); if(checkCollision(ball, p1) == true || checkCollision(ball, p2) == true){ - ballvelx = -ballvelx * 1.1; + ballvelx = -ballvelx * 1.5; } if(ball.y <= 0 || ball.y >= 740){ - ballvely = -ballvely * 1.1; + ballvely = -ballvely * 1.5; } if(ball.x <= 0){ |
