raylib-py 4.2.0
Package release for the C Raylib 4.2
This release was made as output of another project, as mentioned in #45.
Features:
- PEP8 naming convention;
- Type hinting (not type annotation);
- structures with functions as methods and properties (like
some_vec2.length
orsome_sound.play()
; - Vector{2,3,4}, Rectangle and Color have attribute swizzling;
- Pretty printing: most structures implement
__str__()
and__repr__()
in a friendly way; - Context managers: begin_* and end_* functions can be called as context managers;
- Context managers for some structures: Camera{2,3}D, Shader and others;
- RLGL and RayMath functions exposed
Issues:
- Callback for logging will not work
- Functions with
vararg
will not work - Avoid string manipulation functions
- Some examples are broken due to API changes
Would you like to have a more customized binding for raylib?
Please, take a look at this project: raylibpyctbg