Skip to content

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raylib Deno

Deno bindings for raylib. This is currently aligned to raylib v5.0.

Usage

import {
  Drawing,
  LIGHTGRAY,
  RAYWHITE,
  Text,
  Window,
} from "https://deno.land/x/raylib";

Window.init(800, 450, "Raylib - Basic Window");

while (!Window.shouldClose()) {
  Drawing.beginDrawing();
  Drawing.clearBackground(RAYWHITE);
  Text.drawText(
    "Congrats! You created your first window!",
    190,
    200,
    20,
    LIGHTGRAY,
  );
  Drawing.endDrawing();
}

Window.close();

About

Deno FFI bindings for Raylib

Resources

Stars

23 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages