Mercurial
diff raylib_examples/main.c @ 1:adcfad6e86fb
Updated naming and separated out some logic within seobeo.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 24 Sep 2025 09:11:20 -0700 |
| parents | hello_world/main.c@5695ef413be0 |
| children | f33d9ff8b6e8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/raylib_examples/main.c Wed Sep 24 09:11:20 2025 -0700 @@ -0,0 +1,17 @@ +#include <stdio.h> +#include "helper/helper.h" +#include "third_party/raylib/raylib-5.5_macos/include/raylib.h" + +int main() +{ + InitWindow(800, 450, "raylib [core] example - basic window"); + while (!WindowShouldClose()) + { + BeginDrawing(); + ClearBackground(RAYWHITE); + DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY); + EndDrawing(); + } + CloseWindow(); + return 0; +}