We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 584345c commit 10be10cCopy full SHA for 10be10c
Code/Tests/Pong/Pong.cpp
@@ -75,7 +75,7 @@ namespace Pong
75
76
/*
77
**************************************************
78
- * P a d d le
+ * P a d d l e
79
80
*
81
* Moves up and down, controlled by user input
@@ -92,10 +92,11 @@ namespace Pong
92
93
void Paddle::Update()
94
{
95
- const float accel = 1000.0f;
+ const float accel = 2000.0f;
96
const float maxSpeed = 300.0f;
97
const float friction = 500.0f;
98
const float maxY = 600.0f;
99
+
100
if (Input::IsKeyHeld(keyUp))
101
102
speed += accel * Monocle::deltaTime;
0 commit comments