| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repo contains pocketpy bindings for raylib.
Current raylib version: 5.5
Current pocketpy version: 2.1.7
pip install pycparser python gen_raylib.py
This generates two files:
You can take these two files directly into your project.
import raylib as rl
from vmath import color32
rl.InitWindow(800, 450, "raylib [core] example - basic window")
RAYWHITE = color32(34, 34, 34, 255)
LIGHTGRAY = color32(200, 200, 200, 255)
while not rl.WindowShouldClose():
rl.BeginDrawing()
rl.ClearBackground(RAYWHITE)
rl.DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY)
rl.EndDrawing()
rl.CloseWindow()cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
./build/raylib_testMIT License
| Back | FazBrowse Home | New Git URL |