Skip to content

RobLoach/raylib-squirrel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published