raylib-freebasic -> v4.0
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 |
example
#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