Skip to content
/ raylib Public

Pascal bindings that allow you to use raylib with Delphi

License

Notifications You must be signed in to change notification settings

z-cub/raylib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raylib

Chat on Discord Twitter Follow

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.

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 ❤️ in Delphi

About

Pascal bindings that allow you to use raylib with Delphi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages