| Lib | Linux | Windows | Mac | BSD |
|---|---|---|---|---|
| raylib.bi | works | works | should works | should works |
| raymath.bi | works | works | should works | should works |
| rlgl.bi | works | works | should works | should works |
#include "raylib.bi"
Dim As Const Integer screen_width = 800
Dim As Const Integer screen_height = 450
InitWindow(screen_width, screen_height, "Hello World")
SetTargetFPS(60)
While Not WindowShouldClose()
BeginDrawing()
ClearBackground(RAYWHITE)
DrawText("Hello World from raylib and FreeBasic!", 200, 200, 20, GRAY)
EndDrawing()
Wend
CloseWindow()game using raylib-freebasic
