Something went wrong. Try again.
An experiment in static, refcounted, procedural language with ownership
Something went wrong. Try again.
12345678910111213141516171819use raylib.bindings.(*)fn run*() unit = unsafe { let screen-width = 800 let screen-height = 450 InitWindow(screen-width, screen-height, "raylib - basic window".ptr) SetTargetFPS(60) for if !WindowShouldClose() { BeginDrawing() ClearBackground(RAYWHITE) DrawText("Congrats! You created your first window!".ptr, 190, 200, 20, LIGHTGRAY) EndDrawing() } CloseWindow()}