blob: 7c5fcbf0fd5cd211317da301b52e46911902c29b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "raylib.h"
int main(int argc, char *argv[]) {
InitWindow(800, 600, "hyperspace (demo)");
SetTargetFPS(60);
while (!WindowShouldClose()) {
BeginDrawing();
ClearBackground(WHITE);
DrawText("hi world!", GetScreenWidth() / 2.0 - 16 * 4,
GetScreenHeight() / 2.0 - 16, 32, BLACK);
EndDrawing();
}
return 0;
}
|