Skip to content

Commit

Permalink
Merge pull request #44 from JohnDog3112/dev2
Browse files Browse the repository at this point in the history
Extended bounce noise for single player pong
  • Loading branch information
JohnDog3112 authored Sep 28, 2024
2 parents f0496ba + 0768cb3 commit f47934a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pong/pong.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Pong::Pong(double width, double height, colorRGB_t border_color, colorRGB_t back
this->paddle_color = paddle_color;
this->ball_color = ball_color;

this->bounce_noise = load_square_wave(493.883, 0.025, 48000);
this->bounce_noise = load_square_wave(493.883, 0.5, 48000);
this->lose_noise = load_square_wave(440, 0.25, 48000);

#ifdef ASYNC
Expand Down

0 comments on commit f47934a

Please sign in to comment.