Commit Graph

1550 Commits

Author SHA1 Message Date
b273ba930b Add screenshot for core_basic_window_web
The veritable screenshot is this
2025-07-31 01:05:00 +03:00
e662ac80d5 Merge branch 'raysan5:master' into master 2025-07-30 17:37:15 +03:00
Ray
414235dd17 Update shaders_multi_sample2d.c 2025-07-30 16:06:43 +02:00
37104195b4 add screenshot core_basic_window_web
There are no screenshot for this and the alt is seen
2025-07-30 16:54:06 +03:00
b230720842 example core_input_gamepad.c: fix hardcoded gamepad 0 2025-07-27 14:35:38 +00:00
10fadd9185 Replaced scalar to float 2025-07-22 11:59:46 -07:00
b6ae5af4e3 Removed redefined RAD and DEG 2025-07-22 11:57:16 -07:00
8a0ab163d3 Changed to 4 spaces 2025-07-22 11:50:48 -07:00
f3854cb406 Fixed typo 2025-07-22 11:39:24 -07:00
f1714a6234 [examples]: New shapes example - double pendulum 2025-07-21 14:59:51 -07:00
9e908e4a76 Update core_custom_frame_control.c to work properly on web 2025-07-14 00:27:56 -03:00
e91a3697ff Fixed typo 2025-07-06 01:59:03 -04:00
ed509193d9 remving w multiply on the tangent itself 2025-07-01 15:30:50 -05:00
f86295732a fixing shader tangents to be vec4 2025-07-01 15:18:11 -05:00
Ray
8a3a8ee8e3 Update shapes_digital_clock.c 2025-06-07 20:14:10 +02:00
Ray
5f497d0687 REVIEWED: shapes_digital_clock example 2025-06-03 20:42:27 +02:00
3f228f4594 [examples] : adding new fancy clock 2025-06-03 11:40:44 +02:00
6d5aedbd38 Add DrawEllipseV and DrawEllipseLinesV 2025-05-29 07:10:52 -04:00
0ffc8c517f Pbr example fix 2025-05-17 12:32:17 +02:00
696f225f29 Update audio_sound_positioning.c
Calculate `right` Vector3 for correct audio stereo positioning.
2025-04-30 10:12:35 -06:00
12bf30ce04 Merge branch 'raysan5:master' into master 2025-04-22 16:49:12 -04:00
77f31178ed fixed text_draw_3d 2025-04-22 16:48:50 -04:00
Ray
cf1713e6dd REVIEWED: VS2022 projects use a custom resource file...
...instead of relying in src/raylib provided one. #4900
2025-04-18 10:25:40 +02:00
869ae8bbd2 [example] fix text size in text_draw_3d 2025-04-17 14:40:36 -04:00
eb3d96a36a Fix cast warnings in examples. 2025-04-16 18:23:55 -07:00
Ray
cc5739a6d7 REVIEWED: Some PRs formating 2025-04-13 20:55:38 +02:00
Ray
ab901c58bb Merge pull request #4881 from Bigfoot71/raylib-sound-positioning
[examples] Add 3D sound spatialization example
2025-04-12 20:55:29 +02:00
59dc53d20e update readme 2025-04-09 18:09:50 +02:00
d5733ffb9a update example makefiles 2025-04-09 18:09:32 +02:00
Ray
a5639bb186 Merge pull request #4861 from luis605/view-depth-texture
[examples] Added new shader example: `shader_depth_texture`
2025-04-09 17:57:20 +02:00
a554ef339b add audio_sound_positionning example 2025-04-09 17:27:45 +02:00
4960cc74e0 [examples] Reviewed shader view depth 2025-04-04 22:41:34 +01:00
Ray
ceb1a5ea2b REVIEWED: Temporaly fix for issue #4874 2025-04-03 18:31:05 +02:00
f19d4c71ab core_window_flags example: add borderless windowed toggle 2025-03-31 10:23:34 -06:00
336fd78f74 Add core_highdpi example
This example enables HIGHDPI and renders a scale showing how the logical
size compares to the pixel size of the window.
2025-03-28 16:48:21 -06:00
Ray
61aea2495a Merge pull request #4863 from marler8997/fixImmediateRestore
Prevent immediate window restore from minimize in core_window_flags
2025-03-28 18:02:12 +01:00
00fb09cebf Prevent immediate window restore from minimize in core_window_flags
The core_window_flags example automatically restores the window from
being minimized after 3 seconds. However, it only resets the frameCounter
if the window is minimized through the app from inputting KEY_N.  This
means if you miminize the window by other means (like pressing the minimize
button) then the example will immediately restore the window because the
frame counter wasn't reset. I've fixed this by setting the frameCounter
back to 0 once it's expired. I also added a note in the UI that the example
automatically restores the window so it's not a surprise.
2025-03-26 20:02:03 -06:00
8749ba9ebf Uncomment SetTargetFPS in core_window_flags
I think this line was accidently commented out in this commit:

3d1ae3500c

The FPS limit is needed to get the desired wait time for the "hide window"
test, which uses the frame counter to hide the window for 3 seconds. On
my machine without this limit it runs at over 1000 FPS and it appears
like the hide window state is broken.

I also added some text that tells the user that it only hides the window
for 3 seconds so they're not surprised when the window automatically
reappears.
2025-03-26 16:35:31 -06:00
8ec52e3b25 Added example to build system 2025-03-26 19:47:45 +00:00
eeda7a4b82 Added shaders_view_depth example to the build system 2025-03-26 17:41:04 +00:00
e08fc8ab80 Added new example - [shader] render depth texture 2025-03-26 16:59:05 +00:00
611c43719f Avoid divide by 0 in core_custom_frame_control example 2025-03-26 10:58:59 -06:00
ac17de5074 [build] remove examples/build.zig, incorporate into main build.zig
Removes the second build.zig in the examples directory and incorporates it
into the main build.zig. This gives the zig build system the data needed to
know if the raylib library needs to be rebuilt when running any example.
2025-03-25 11:05:59 -06:00
e140aca1b5 Increase zoom factor in core_2d_camera.c
This compensate for slower zoom speed due to log scaling
2025-03-19 20:19:19 +01:00
8b84c999d2 Use logarithmic zoom scaling in 2d camera zoom examples 2025-03-19 19:48:04 +01:00
513753c394 Converting int to char
Fixes warning: narrowing conversion caused by trying to convert int to unsigned char
2025-03-13 21:50:20 -03:00
61a026f7ef [examples] Reorganize some conditions to fix overlap bugs (#4829)
* Reorganize some conditions to fix overlap bugs

* Fix edge case where control point selection outlives mouse down
2025-03-09 11:40:24 +01:00
f430d72a8c [examples] fix: use quotation marks when including raylib.h (#4821)
...so it will always prioritize local version of raylib instead of
system-wide installations, which is a huge problem when testing any
changes done locally to raylib as it might cause silent mismatch issues.
There were only 4 examples affected by this issue which were using
`#include <raylib.h>`. Other examples use proper `#include "raylib.h"`

Fixes: https://github.com/raysan5/raylib/issues/4820
2025-03-07 19:24:53 +00:00
Ray
e4993c5557 Merge branch 'master' of https://github.com/raysan5/raylib 2025-02-25 17:50:54 +01:00
Ray
557d071fa2 Reviewed shader loading message 2025-02-25 17:50:46 +01:00