Gunko Vadim
53cbd3cb11
rename
2025-04-12 07:10:14 +05:00
Gunko Vadim
0d86084709
Update text_unicode_font_example.c
...
The creation of the array has been rewritten, the size of the example has been reduced
2025-04-12 07:07:14 +05:00
Gunko Vadim
4184a5b251
Update text_unicode_font_example.c
2025-04-11 18:43:12 +05:00
Gunko Vadim
5d7e8010a5
example unicode font
...
A review of the code is required. Since I'm not sure what's written correctly at all.
2025-04-11 14:39:06 +05:00
Bigfoot71
59dc53d20e
update readme
2025-04-09 18:09:50 +02:00
Bigfoot71
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
Bigfoot71
a554ef339b
add audio_sound_positionning
example
2025-04-09 17:27:45 +02:00
luis605
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
Jonathan Marler
f19d4c71ab
core_window_flags example: add borderless windowed toggle
2025-03-31 10:23:34 -06:00
Jonathan Marler
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
Jonathan Marler
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
Jonathan Marler
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
luis605
8ec52e3b25
Added example to build system
2025-03-26 19:47:45 +00:00
luis605
eeda7a4b82
Added shaders_view_depth example to the build system
2025-03-26 17:41:04 +00:00
luis605
e08fc8ab80
Added new example - [shader] render depth texture
2025-03-26 16:59:05 +00:00
Jonathan Marler
611c43719f
Avoid divide by 0 in core_custom_frame_control example
2025-03-26 10:58:59 -06:00
Jonathan Marler
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
Fabrizio Pietrucci
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
Fabrizio Pietrucci
8b84c999d2
Use logarithmic zoom scaling in 2d camera zoom examples
2025-03-19 19:48:04 +01:00
Aidon
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
Amy Wilder
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
sleeptightAnsiC
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
jordan4ibanez
7cae259a6d
Reviewed shaders comment wording ( #4793 )
2025-02-25 14:26:52 +01:00
Destructor17
27af359d1c
[rlgl] Preserve texture on mode switching ( #4364 )
...
* Fix textures on draw mode switch
* formatting fix
* ident
2025-02-25 12:39:00 +01:00
Ray
256953957f
Update Makefile
2025-02-25 11:43:25 +01:00
Jay Rhoden
015ab9df18
Amend comment to explain what LoadCodepoints is doing. ( #4787 )
...
As a beginner, it was not clear to me what the purpose of the LoadCodepoints function is. I am trying to help past me.
2025-02-23 18:19:10 +01:00
Colleague Riley
c34ef35433
Update RGFW and ensure it's consistent with the GLFW backend ( #4783 )
...
* add PLATFORM_WEB_RGFW
* fix some bugs
* fix web_rgfw gamepad
* send fake screensize
* fix gamepad bugs (linux) | add L3 + R3 (gamepad)
* fix?
* update RGFW (again)
* update raylib (merge)
* fix xinput stuff
* delete makefile added by mistake
* update RGFW
* update RGFW (rename joystick to gamepad to avoid misunderstandings
* update RGFW (fix X11 bug)
* update RGFW
* use RL_MALLOC for RGFW
* update RGFW (fixes xdnd bug)
* fix some formating
* Update RGFW
* update RGFW
* undo change
* undo change
* undo change
* undo change
* have .scroll be 0 by default
* update RGFW
* update RGFW
* update RGFW
* fix year
* fix wasm key event bug
* update RGFW
* link to IOKit
* update
2025-02-21 12:32:09 +01:00
Thomas Anderson
a1de60f3ba
added missing file ( #4754 )
2025-02-08 11:23:15 +01:00
Ray
53ea275b9c
Merge branch 'master' of https://github.com/raysan5/raylib
2025-01-26 19:43:01 +01:00
Ray
861ebafe62
Update shaders_mesh_instancing.c
2025-01-26 19:42:52 +01:00
Anstro Pleuton
7bfc8e8ca7
[example] Add shaders_rounded_rectangle example ( #4719 )
...
* Add shaders_rounded_rectangle example
* Minor tweaks to example template (add star, more)
* Combine shaders
* Fix changes after review
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com >
2025-01-23 10:51:36 +01:00
Ray
2c50da9a6a
REVIEWED: -sASSERTIONS usage by linker #4717
2025-01-21 19:18:23 +01:00
Anstro Pleuton
773e3f5f9f
Update more examples inconsistencies ( #4711 )
...
Co-authored-by: Anstro Pleuton <anstropleuton@github.com >
2025-01-19 17:17:38 +01:00
Anstro Pleuton
945f181f1d
[examples] Update examples to be consistent ( #4699 )
...
* Update examples inconsistencies
* Happy new years, examples!
* Missed one inconsistency
* Update final few examples inconsistencies
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com >
2025-01-18 19:41:56 +01:00
Anthony Carbajal
27e530eb18
update examples with difficulty stars ( #4694 )
...
* update examples with difficulty stars
* manual fix script issues
* manual fix script issues
2025-01-17 10:42:30 +01:00
Ray
7c7b087efb
REVIEWED: example: shaders_deferred_render
-WIP-
...
Not working but shader compiles and example runs... not sure if deferred rendering could be supported in OpenGL ES 2.0.
2025-01-16 19:48:31 +01:00
Ray
7b570bdfdd
Update models_point_rendering.c
2025-01-16 19:47:06 +01:00
Eike Decker
5c1cce28a7
Using Module provided canvas id for event binding ( #4690 )
...
This change is replacing the hardcoded "#canvas" element references in
rcore_web to allow using canvas elements that use different names
(which is necessary when using multiple canvas elements on one page).
Also adding a cursor hiding example to mouse example.
2025-01-16 00:32:58 +01:00
Ray
cfbba79bd3
REVIEWED: example: models_textures_tiling
shaders
2025-01-12 20:59:12 +01:00
Ray
fddfb58f85
REVIEWED: Potential shader issues
2025-01-12 20:39:07 +01:00
Ray
af163ba22a
REVIEWED: example: shaders_julia_set
2025-01-12 20:29:46 +01:00
Ray
da5a868e2a
REMOVED: example: core_gamepad_info
2025-01-12 18:21:59 +01:00
Ray
2f6230e366
Formatting review and examples review
2025-01-12 18:02:36 +01:00
Ray
4bceddd4de
ADDED: example: models_tesseract
2025-01-12 16:19:32 +01:00
Ray
a1896c7a90
REVIEWED: Code/Web-Makefile formatting
2025-01-12 16:19:10 +01:00