diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/hello.nim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/hello.nim b/examples/hello.nim new file mode 100644 index 0000000..e1c8d54 --- /dev/null +++ b/examples/hello.nim @@ -0,0 +1,14 @@ +import raylib/raylib + +InitWindow(800, 600, "basic example") + +SetTargetFPS(60) + +while not WindowShouldClose(): + BeginDrawing() + + ClearBackground(White) + + DrawText("Hello World!", 100, 100, 20, Black) + + EndDrawing() |
