diff options
| author | ilotterytea <iltsu@alright.party> | 2025-01-03 15:25:42 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-01-03 15:25:42 +0500 |
| commit | 0a87b324c3bec9d7304e183072e1b5e42c4dc144 (patch) | |
| tree | 33c04acd2effcb60d8250d9123f38692722a1085 /src | |
initial commit
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..0f659cb --- /dev/null +++ b/src/main.c @@ -0,0 +1,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; +}
\ No newline at end of file |
