blob: 0f659cb169cad20d1481d3722d6bc16ed3c60b6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "raylib.h"
int main() {
SetConfigFlags(FLAG_WINDOW_RESIZABLE);
InitWindow(800, 600, "sillyeditor");
SetTargetFPS(60);
while (!WindowShouldClose()) {
BeginDrawing();
ClearBackground(RAYWHITE);
DrawText("hi world!", GetScreenWidth() / 2 - 16 * 4,
GetScreenHeight() / 2 - 16, 32, BLACK);
EndDrawing();
}
return 0;
}
|