Skip to content

raylib-py 4.2.0

Compare
Choose a tag to compare
@overdev overdev released this 11 Nov 22:41
· 13 commits to master since this release

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 or some_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