/raylib-freebasic

FreeBasic bindings for raylib

Primary LanguageFreeBASICMIT LicenseMIT

raylib-freebasic -> v4.0

FreeBasic bindings for raylib

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()

Example

game using raylib-freebasic