Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leia-raylib

Raylib support for Leia as an external package. Leia itself does not ship raylib bindings; this module provides the native binding and a small script helper layer.

Run the demo directly with Go:

go run github.com/never-labs/leia-raylib/cmd/leia-raylib@v0.4.0 examples/bounce.leia

Example:

leia := require("github.com/never-labs/leia-raylib")

leia.run({
    width: 800,
    height: 450,
    title: "Leia Raylib",
    fps: 60,
    clear: leia.color(245, 245, 245, 255),
    draw: func(rl) {
        rl.drawText("Hello", 20, 20, 24, rl.RED)
        return true, nil
    },
})

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages