raylib-python-cffi
raylib-python-cffi copied to clipboard
Python CFFI bindings for Raylib
Heya, I looked though all of the issues and found #45 stating that it wasn't supported but projects like [Pyodide](https://github.com/pyodide/pyodide) exist now and allow you to run your Python code...
- [x] enums Currently the docs list enums, but they don’t actually exist as objects - cffi just converts all the values to ints. So first we need to fix...
make this example nicer: https://github.com/electronstudio/raylib-python-cffi/blob/master/examples/core/core_drop_files.py
Not sure if Raylib uses any of these, but RayGUI certainly does. Currently to use with pyray code looks like this: ``` import pyray as pr char_array = pr.ffi.new("char[20]") pointer...
Hi, while testing the Pyray module I stumbled upon your comment about function calls using a lot of string comparisons at runtime, so here's an alternative that basically converts python...
Examples
We should split the examples into ones that use the C API and ones that use the Python API. We should add more examples. We should test all the examples...
reference to #88  
the image in the image loading example is not loading, is that only on my PC? 
Noob here. Running raspbian bullseye (64-bit version). Haven't tested 32-bit OS version. running quickstart program. ``` Traceback (most recent call last): File "/home/pi/.pyenv/versions/3.12.1/bin/gui", line 5, in from gui.main import main...
When running raylib 4.5.0.0 I get this error: `Traceback (most recent call last): File "/home/alliana/bebbleberry/src/main.py", line 5, in from pyray import * File "/home/alliana/.local/lib/python3.9/site-packages/pyray/__init__.py", line 15, in from raylib import...