electronstudio / raylib-python-cffi

Python CFFI bindings for Raylib
http://electronstudio.github.io/raylib-python-cffi
Eclipse Public License 2.0
142 stars 29 forks source link

Fix struct constructor wrapper #7

Closed WonkySpecs closed 4 years ago

WonkySpecs commented 4 years ago

Hi, I'm not sure if this is still maintained but I've been playing with it recently and ran into this small bug.

Thanks for the project, it's been fun to try out.

WonkySpecs commented 4 years ago

Nevermind, realised I'm supposed to create an instance of PyRay :man_facepalming:

electronstudio commented 4 years ago

It is still maintained but I was waiting for Raylib 2.6 to release before doing new builds. Builds are done now, but not in pip yet because no-one has tested them. If you want to test:

git clone https://github.com/electronstudio/raylib-python-cffi
cd raylib-python-cffi
python test_static.py
python test_dynamic.py