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

Add physics demo #67

Closed GregChan closed 2 years ago

GregChan commented 2 years ago

I tried to strike a balance between the C examples and other examples in this repo. Happy to make any changes necessary :)

electronstudio commented 2 years ago

Thanks. I think we already have this one at https://github.com/electronstudio/raylib-python-cffi/blob/master/tests/xtest_physac.py

GregChan commented 2 years ago

Ah sorry, didn't see it in there! Out of curiosity is there a reason it's in the tests and not in the examples directory? It wasn't my first intuition to check the tests directory for physac examples.

electronstudio commented 2 years ago

It’s just because I coded it for the purpose of testing if the Physac binding was working. You’re right people might not find it there.