Commit graph

82 commits

Author SHA1 Message Date
Richard Smith
8e85d28ca8 add audio examples 2025-06-04 17:00:08 +01:00
Richard Smith
c58d89fd86 add example 2025-05-27 19:57:35 +01:00
Max Golubev
2df1ac470b
Update physac example (#168) 2025-05-03 19:41:59 +01:00
Richard Smith
bf1622c5c2 add example by @Lightnet 2025-01-12 13:59:32 +00:00
Richard Smith
a33f4fcc9a update examples 2024-11-17 01:17:05 +00:00
Richard Smith
4071263a59 add shaders_write_depth example 2024-10-07 18:06:39 +01:00
Richard Smith
fde8354a8a Example OO wrapper around the Vector2 struct, by @Emtyloc 2024-10-07 17:25:53 +01:00
Richard Smith
1799c58ca5 update examples 2024-07-01 14:18:55 +01: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
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
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
599e5254c6 add audio example from @ashleysommer 2023-12-21 08:51:08 +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
Tim Fong 2
ef20eaf7c9 added models waving cubes example 2023-08-11 23:41:31 +07:00
Tim Fong 2
9df3448f1c added core_window_flags 2023-08-09 19:16:32 +07: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
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
electronstudio
42d6762fbe update raylib to 4.5 2023-05-22 17:01:19 +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
דור שפירא
8eb8a386fd fixing the issue in the image_loading.py Fixed #89 2022-09-23 16:46:07 +03:00
Dor Shapira
9f11c90e29
Update shapes_lines_bezier.py 2022-09-21 18:00:23 +03:00
Dor Shapira
c0b36508dc
Merge branch 'electronstudio:master' into master 2022-09-20 21:21:20 +03:00
דור שפירא
3836c7ed93 adding shapes lines bezier example 2022-09-20 21:19:30 +03:00
דור שפירא
91aa5ae4f9 making the shaders_basic_lighting.py and the shaders_fog.py file more python"y" style 2022-09-19 22:54:14 +03:00
Richard Smith
32f1d34c82
Merge pull request #82 from sDos280/master
adding following eyes example
2022-09-19 19:44:08 +01:00
romariops
36afd6057c add example core 3d camera first person 2022-09-18 20:41:10 -03:00
דור שפירא
1c889888fe fix typo 2022-09-16 13:23:54 +03:00
דור שפירא
54d8dd96bf adding shapes_following_eyes example 2022-09-16 13:23:30 +03:00
romariops
982089f272 Adding the core 3d camera mode example 2022-09-11 14:28:51 -03:00
romariops
52adefe506 Examples/core_2d_camera_mouse_zoom 2022-09-10 19:54:50 -03:00
דור שפירא
ba61381d24 adding the textures_to_image example 2022-07-31 15:37:37 +03:00
דור שפירא
ad21fe7b8e adding the textures_mouse_painting example 2022-07-31 10:08:31 +03:00
דור שפירא
a278a38069 adding the core_window_should_close example 2022-07-30 23:02:10 +03:00
דור שפירא
603d4888a8 adding the core_scissor_test example 2022-07-30 22:44:49 +03:00
דור שפירא
4941bc88ef adding the shapes_logo_raylib example and adding the missing press checks in the core_input_mouse example
I added the shapes_logo_raylib example.
I added the missing MOUSE_BUTTON_SIDE,MOUSE_BUTTON_EXTRA,MOUSE_BUTTON_FORWARD,MOUSE_BUTTON_BACK press checks.

note: my mouse doesn't have the "forward" and "back" buttons, so I couldn't test if they work
2022-07-30 09:22:06 +03:00
דור שפירא
dead4cfcb5 adding the shapes_logo_raylib example.
adding the missing press checks in the core_input_mouse example:
I added the missing MOUSE_BUTTON_SIDE,MOUSE_BUTTON_EXTRA,MOUSE_BUTTON_FORWARD,MOUSE_BUTTON_BACK press checks.

note: my mouse doesn't have the "forward" and "back" buttons, so I couldn't test if they work
2022-07-30 09:20:26 +03:00
דור שפירא
50e74a7e26 adding core_random_values example 2022-07-28 12:57:59 +03:00
Tyrone Slothrop
cc55fa7836 Create shapes_draw_rounded_rectangle.py
Port shapes_draw_rounded_reactangle example.
2022-06-25 16:22:39 +01:00
richard
3e729eca0f drop files alt example 2022-06-02 19:57:21 +01:00
richard
0703645afb drop files example comments 2022-06-02 19:04:21 +01:00
richard
08cafd55df drop files example 2022-06-02 15:23:22 +01:00
GregChan
6ae0e73c9a Add physics demo 2022-05-26 02:51:32 -07:00
Chris Retford
7782dddc02 Add basic screen manager example 2022-04-03 16:06:51 -06:00
richard
ef91af804b fixes to examples 2022-02-04 10:42:07 +00:00
richard
7ca36d1285 animation example from https://github.com/electronstudio/raylib-python-cffi/pull/53 https://github.com/Lcbx 2022-02-03 00:47:30 +00:00
richard
82d310ea76 fix more examples https://github.com/electronstudio/raylib-python-cffi/issues/47 2022-02-02 20:28:08 +00:00