29 lines
441 B
C
29 lines
441 B
C
#include <stdio.h>
|
|
#include <raylib.h>
|
|
|
|
|
|
int main(void) {
|
|
|
|
const int screenWidth = 1280;
|
|
const int screenHeight = 720;
|
|
|
|
InitWindow(screenWidth, screenHeight, "PixelDefense");
|
|
SetTargetFPS(60);
|
|
|
|
while (!WindowShouldClose()) {
|
|
if (IsKeyPressed(KEY_ESCAPE)) {
|
|
break;
|
|
}
|
|
|
|
BeginDrawing();
|
|
ClearBackground(RAYWHITE);
|
|
|
|
EndDrawing();
|
|
|
|
}
|
|
|
|
CloseWindow();
|
|
|
|
return 0;
|
|
}
|