]> git.eli173.com Git - pong_br/commitdiff
faster
authorElijah Cohen <eli@eli173.com>
Thu, 2 May 2019 23:43:02 +0000 (18:43 -0500)
committerElijah Cohen <eli@eli173.com>
Thu, 2 May 2019 23:43:02 +0000 (18:43 -0500)
server/constants.js

index 28e8b732802c8d0a0dd2fb54689ed6d032032087..b4d5970307e18f06d4ba35d618758e355c39a523 100644 (file)
@@ -16,8 +16,8 @@ var c = {
     ANGLE_THRESH: 0.2, //radians, needs to acct for various rotatings going on... can prolly wing it
     PADDLE_MVT_BONUS: 0.1, // why this value? who knows. the extra speed from paddles in motion
     // ball
-    MIN_INIT: 0.1,
-    MAX_INIT: 1, // initial speed constraints
+    MIN_INIT: 1,
+    MAX_INIT: 3, // initial speed constraints
     BALL_RADIUS: 0.5,
     MAX_SPEED: 15,
     SPEED_BUMP: 0.2,