game: add: padding to collision

This commit is contained in:
2024-02-20 09:07:01 +01:00
committed by AdrienLSH
parent 4a97df6f38
commit 828e136bcc
6 changed files with 43 additions and 19 deletions

View File

@ -20,8 +20,10 @@ class GameConfigView(APIView):
"PADDLE_SPEED_PER_SECOND_MAX": config.PADDLE_SPEED_PER_SECOND_MAX,
"PADDLE_RATIO": config.PADDLE_RATIO,
"BALL_SIZE": config.BALL_SIZE,
"BALL_SIZE": config.BALL_SIZE,
"BALL_SPEED_INC": config.BALL_SPEED_INC,
"BALL_SPEED_START": config.BALL_SPEED_START
"BALL_SPEED_START": config.BALL_SPEED_START,
"STROKE_THICKNESS": config.STROKE_THICKNESS,
}
return Response(config_data, status = status.HTTP_200_OK)