raylib-squirrel

OTHER License

Stars
2

raylib-squirrel (Proof-of-Concept)

raylib bindings for Squirrel, using Squall.

Example

The following is an example of what raylib looks like through Squirrel:

local screenWidth = 800
local screenHeight = 450

InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window")

SetTargetFPS(60)

while (!WindowShouldClose())
{
	BeginDrawing()

	// TODO: Add color constants
	//ClearBackground(RAYWHITE)

	//DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY)

	EndDrawing()
}

CloseWindow()

Build

git clone https://github.com/RobLoach/raylib-squirrel.git
cd raylib-squirrel
mkdir build
cd build
cmake ..
make