Pascal bindings that allow you to use raylib and other useful libraries with Delphi.
- Windows 10+ (64 bits)
- Delphi Community Edition (Win64 platform only)
You simply add raylib
to your uses section and everything will be linked in your executable, ready for use with no DLLs to maintain. You will have direct access to all the aforementioned libraries.
uses
System.SysUtils,
raylib;
const
screenWidth = 800;
screenHeight = 450;
begin
InitWindow(screenWidth, screenHeight, 'raylib [core] example - basic window');
while not WindowShouldClose do
begin
BeginDrawing;
ClearBackground(RAYWHITE);
DrawText('Congrats! You created your first window!', 190, 200, 20, LIGHTGRAY);
EndDrawing;
end;
CloseWindow;
end.