2020-02-27 17:01:34 +00:00
|
|
|
rl.SetConfigFlags(rl.FLAG_VSYNC_HINT)
|
|
|
|
|
|
|
|
rl.InitWindow(800, 450, "raylib [core] example - basic window")
|
|
|
|
|
|
|
|
while not rl.WindowShouldClose() do
|
2020-09-05 18:44:37 +00:00
|
|
|
rl.BeginDrawing()
|
|
|
|
rl.ClearBackground(rl.RAYWHITE)
|
|
|
|
rl.DrawText("Congrats! You created your first window!", 190, 200, 20, rl.LIGHTGRAY)
|
|
|
|
rl.EndDrawing()
|
2020-02-27 17:01:34 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
rl.CloseWindow()
|