Docs
There’s no actual tutorial per se, but raylib is pretty simple, and there’s examples, a cheatsheet, and a wiki:
If you compare the Python API vs the cheatsheet, you’ll see that whereas the names in C go like PascalCase
, the corresponding names in Python go in snake_case
. For example:
In C | In Python |
---|---|
BeginDrawing() |
begin_drawing() |
BeginMode2D() |
begin_mode_2d() |
DrawText() |
draw_text() |
and so on.
Note that (unlike in Python) in the C examples, the author uses indentation to show code nested between calls like BeginDrawing()
and EndDrawing()
.
Take stroll through the examples, and you’ll quickly get an idea of how raylib works.