2025-05-24 16:54:44 +02:00

28 lines
390 B
C

#include "engine.h"
struct {
int width;
int height;
} context;
int main(void) {
context.height = 600;
context.width = 800;
Vector2 position = (Vector2){0, 0};
InitWindow(context.width, context.height, "Game");
SetTargetFPS(120);
while (!WindowShouldClose()) {
BeginDrawing();
ClearBackground(BLACK);
DrawFPS(10, 10);
EndDrawing();
}
CloseWindow();
return (0);
}