Skip to content

lino-levan/raylib-deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published