|
|
@ -211,7 +211,7 @@ int main(int argc, char** argv) {
|
|
|
|
SetTraceLogLevel(LOG_NONE);
|
|
|
|
SetTraceLogLevel(LOG_NONE);
|
|
|
|
raylib::Window window = raylib::Window(WIDTH, HEIGHT, "Pong");
|
|
|
|
raylib::Window window = raylib::Window(WIDTH, HEIGHT, "Pong");
|
|
|
|
window.ClearBackground(BLACK);
|
|
|
|
window.ClearBackground(BLACK);
|
|
|
|
SetTargetFPS(10);
|
|
|
|
SetTargetFPS(60);
|
|
|
|
SetExitKey(KEY_Q);
|
|
|
|
SetExitKey(KEY_Q);
|
|
|
|
std::string points_str = std::string("0\t\t0");
|
|
|
|
std::string points_str = std::string("0\t\t0");
|
|
|
|
bool game_started = false;
|
|
|
|
bool game_started = false;
|
|
|
|