28 lines
390 B
C
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);
|
|
}
|