From 99c3f90ac87f760888b05f8725ea976de83e5fc3 Mon Sep 17 00:00:00 2001 From: r4tss <68610647+r4tss@users.noreply.github.com> Date: Tue, 25 Jan 2022 18:44:43 +0100 Subject: Added new projects --- pong.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pong.c b/pong.c index fe4e897..9c5ff54 100644 --- a/pong.c +++ b/pong.c @@ -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){ -- cgit v1.2.3