Commit graph

400 commits

Author SHA1 Message Date
Richard Smith
1232b700a5 fix clang 16 on mac building 2024-04-05 14:47:10 +01:00
Richard Smith
43e0492e7d version 5.0.0.2 2024-04-05 14:23:14 +01:00
Richard Smith
c954a4ff1b update docs 2024-04-05 12:49:27 +01:00
Richard Smith
0a677fe31d fix float pointer test 2024-04-05 12:47:38 +01:00
Richard Smith
15469b03ae fix list of string types in .pyi 2024-04-05 12:46:54 +01:00
Richard Smith
2875e28322 remove dependency on inflection per @sDos280 suggestion to speed up pygbag WASM loading, https://github.com/electronstudio/raylib-python-cffi/issues/58 2024-03-03 12:48:29 +00:00
Richard Smith
3744686f7b
throw helpful errors when params supplied are not ctype pointers (#122) 2024-03-03 11:48:09 +00:00
Richard Smith
33dce4ecfd
Improve struct creation helper methods by auto converting arguments: (#119)
* None to ffi.NULL
 * array and ndarray to buffer, and keep weakref so it doesn't get GCed

This makes it possible to create Mesh structs without too much faffing.
2024-03-03 11:45:09 +00:00
Richard Smith
ef3681fc5b update readme 2024-02-21 12:58:01 +00:00
Richard Smith
70b8d7c143 tidy examples 2024-02-21 12:21:32 +00:00
Richard Smith
eb68dec2ad update core examples 2024-02-21 11:23:55 +00:00
Richard Smith
83b810b1eb version bump 2024-01-22 15:16:49 +00:00
Ashley Sommer
87e534e142
RLGL standalone example (using new defines.py and GLFW) (#113)
* Bump raylib to 5.0, Bump RayGUI to 4.0
Generate bindings for raylib's embedded GLFW, to enable lower-level examples (see examples/others/rlgl_standalone.py)
Dynamically generate defines at library build-time, they are known by the raylib parser.
Bug fix, allow raylib parser to see RayGUI, Physac, and RayMath exported functions, get proper argument names from functions, provide real argument names on interface definitions.

* Fix finding glfw3.h include file on Windows build

* Fix building for macos on cirrus CI.

* Update version.py

* Update create_enums.py

* Update build.py

* Update make_docs.sh

---------

Co-authored-by: Richard Smith <electronstudio@users.noreply.github.com>
Co-authored-by: Richard Smith <github@electronstudio.co.uk>
2024-01-22 15:12:04 +00:00
Richard Smith
a49439135e automatically export defines, by @ashleysommer 2024-01-22 15:05:29 +00:00
Richard Smith
be45bef9f1 add support for GLFW3 2024-01-22 14:48:31 +00:00
Richard Smith
d9acf89784 improve stub generator by @ashleysommer 2023-12-22 04:46:46 +00:00
Richard Smith
594fe4d41a update rpi instructions 2023-12-22 03:54:55 +00:00
Richard Smith
e7f522c6e4 fix jpg support issue #89 2023-12-22 03:10:41 +00:00
Richard Smith
599e5254c6 add audio example from @ashleysommer 2023-12-21 08:51:08 +00:00
Richard Smith
15a4ee2beb
Merge pull request #114 from ashleysommer/v_5_0
Bump Raylib to v5.0.0, RayGUI 4.0, rebuild Docs
2023-12-21 08:23:36 +00:00
Richard Smith
ac9a681670 update dynamic libs to 5.0 2023-12-21 07:34:46 +00:00
Richard Smith
0cd3515b74 restore missing pyi files 2023-12-21 07:11:31 +00:00
Richard Smith
3a97288732 rebuild of docs 2023-12-21 07:11:03 +00:00
Richard Smith
07fa448117 improve the make_docs.sh script 2023-12-21 07:09:40 +00:00
Ashley Sommer
9b48e57bb1 Bump Raylib to v5.0.0, RayGUI 4.0 is designed to be used with RayLib 5, so bump RayGUI too to 4.0.
Updated some core examples to match the changes in Raylib-c v5.0.0
2023-12-19 10:49:31 +10:00
Richard Smith
3b01e59338 add python 3.12 and pypy 3.10 to builds 2023-10-27 04:40:04 +01:00
Tim Fong 2
ef20eaf7c9 added models waving cubes example 2023-08-11 23:41:31 +07:00
Timothy Fong
6c9e42301d
Merge pull request #110 from Timfon/master
Added core_window_flags example
2023-08-11 23:28:53 +07:00
Tim Fong 2
9df3448f1c added core_window_flags 2023-08-09 19:16:32 +07:00
Timothy Fong
f8c7039948
Merge branch 'electronstudio:master' into master 2023-07-30 04:56:02 -04:00
Timothy Fong
4893cfb905
added core 3d camera free (#108)
* added core_split_screen example

* added core_vr_simulator example

* Delete launch.json

* added core 3d camera free

* added core_smooth pixel-perfect camera

---------

Co-authored-by: “Timfon” <“timothy_fong@brown.edu”>
Co-authored-by: Richard Smith <electronstudio@users.noreply.github.com>
2023-07-26 20:17:30 +01:00
“Timfon”
ad37407929 added core example smooth pixel perfect camera 2023-07-26 20:16:28 +01:00
“Timfon”
109c8c5f17 added core example smooth pixel perfect camera 2023-07-25 21:38:27 +07:00
Timothy Fong
866f47c72b
added the core_vr_simulator to examples (#107) 2023-07-10 00:48:55 +01:00
Timfon
903747b122
added core_split_screen example (#106)
Co-authored-by: “Timfon” <“timothy_fong@brown.edu”>
2023-07-07 17:06:51 +01:00
pranavganesh
b23957d2f0
Converting shapes_basic_shapes.c to python and adding it to examples (#104)
* Converting shapes_basic_shapes.c to python and adding it to examples

* Add shapes_bouncing_ball.py to examples in shapes

---------

Co-authored-by: pranavganesh <50474789+Pranv11Ganesh@users.noreply.github.com>
2023-07-07 17:06:11 +01:00
Richard Smith
f735bd54f2 use cirrus CI to do macos ARM64 builds 2023-05-23 14:46:00 +01:00
Richard Smith
877fe35414 update docs 2023-05-23 11:01:49 +01:00
Richard Smith
616fb2c1bc fix example in docs 2023-05-22 18:24:44 +01:00
Richard Smith
c7a53692a4 update github actions to macos-11 2023-05-22 18:02:02 +01:00
Richard Smith
02a5f4bc7a upgrade github actions 2023-05-22 17:59:17 +01:00
Richard Smith
2ee15fa7e5 add fields to static pyi stub 2023-05-22 17:58:58 +01:00
electronstudio
42d6762fbe update raylib to 4.5 2023-05-22 17:01:19 +01:00
Richard Smith
cbcb0719a6
Update RPI.rst 2023-05-17 07:40:17 +01:00
Dor Shapira
7bfd7d2ea6
added texures srcrec dstrec example (#93)
added scarfy.png file
made texures_srcrec_dstrec.py stand to the Python API conventions(https://github.com/sDos280/raylib-python-cffi/blob/Conventions/PYTHON_API_CONVENTIONS.md)
2022-10-25 23:48:50 +01:00
Richard Smith
2061585311 try removing the boolean/int replacement from windows build 2022-10-18 19:52:00 +01:00
richard
81590eb815 automate conversion of lists of strings https://github.com/electronstudio/raylib-python-cffi/discussions/98 2022-10-18 10:33:37 +01:00
richard
2c233d47fa reformat fix https://github.com/electronstudio/raylib-python-cffi/issues/90 2022-09-23 20:11:59 +01:00
richard
84c7eff4d7 fix PyCharm not finding Color types in .pyi files, fixes https://github.com/electronstudio/raylib-python-cffi/issues/88 2022-09-23 20:06:40 +01:00
Richard Smith
d4278968b5
Merge pull request #86 from sDos280/master
adding example and making examples look neater
2022-09-23 19:47:21 +01:00