Skip to content

Commit 10be10c

Browse files
committed
Minor pong tweak.
1 parent 584345c commit 10be10c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Code/Tests/Pong/Pong.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ namespace Pong
7575

7676
/*
7777
**************************************************
78-
* P a d d le
78+
* P a d d l e
7979
**************************************************
8080
*
8181
* Moves up and down, controlled by user input
@@ -92,10 +92,11 @@ namespace Pong
9292

9393
void Paddle::Update()
9494
{
95-
const float accel = 1000.0f;
95+
const float accel = 2000.0f;
9696
const float maxSpeed = 300.0f;
9797
const float friction = 500.0f;
9898
const float maxY = 600.0f;
99+
99100
if (Input::IsKeyHeld(keyUp))
100101
{
101102
speed += accel * Monocle::deltaTime;

0 commit comments

Comments
 (0)