Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

raylib

Pascal bindings that allow you to use raylib with Delphi

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

raylib

raylib

A simple and easy-to-use library to enjoy videogames programming

Pascal bindings that allow you to use raylib and other useful libraries with Delphi.

Included

Minimum Requirements

Usage

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.

pascal
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.

Support

Delphi

Made with :heart: in Delphi