#import "Basic"; #import,file "Raylib/module.jai"; /** jai -quiet test.jai +Autorun */ main :: () { SetTraceLogLevel(.LOG_NONE); InitWindow(800, 600, "Test"); defer CloseWindow(); SetTargetFPS(60); while !WindowShouldClose() { BeginDrawing(); defer EndDrawing(); ClearBackground({ 42, 42, 60, 255 }); DrawFPS(10, 10); DrawText(TextFormat("Frame Time: %f s", GetFrameTime()), 10, 30, 20, WHITE); } }