Commit Graph

2071 Commits

Author SHA1 Message Date
dan-hoang
ee4f4a29c2
[examples] Update audio_raw_stream.c (#5637)
* Update audio_raw_stream.c

* Update audio_raw_stream.c to more closely follow raylib coding conventions

* Update audio_raw_stream.c to more closely follow raylib coding conventions

I accidentally put the file in the wrong folder.

* Delete examples/audio_raw_stream.c

* Remove spaces before asterisks in comments in audio_raw_stream.c

* Put SetTargetFPS(30) before while (!WindowShouldClose()) in audio_raw_stream.c
2026-03-12 11:33:47 +01:00
Thomas Prowse
6cebf63cba
Change GetRenderWidth() to GetScreenWidth() for consistency (#5635) 2026-03-11 00:21:53 +01:00
Ray
e40ddfabbb **WARNING: BREAKING:** REDESIGNED: rlgl shader loading API function names for more consistency #5631
ADDED: `rlUnloadShader()` to unload shaders (that function was missing and compute shaders leak memory)
RENAMED: `rlCompileShader()` to p `rlLoadShader()` to be consistent with `rlUnloadShader()`
RENAMED: `rlLoadShaderCode()` to `rlLoadShaderProgram()`, more descriptive of return
RENAMED: `rlLoadShaderProgram()` to `rlLoadShaderProgramEx()`
RENAMED: `rlLoadComputeShaderProgram()` to `rlLoadShaderProgramCompute()`
RENAMED: Some functions parameters for consistency
2026-03-09 14:23:54 +01:00
Ray
32005b9edf Update textures_bunnymark.c 2026-03-08 23:00:05 +01:00
Ray
1839b3edb0 Update shaders_cel_shading.c 2026-03-06 17:11:44 +01:00
Gleb A
54f630774d
[example] cel-shading and outline using inverted hull (#5615)
* added cel-shading and outline using inverted hull example

* new screenshot

* added glsl100+120 compat

* updated view

* unnecessary spacing
2026-03-06 16:52:28 +01:00
Jeffery Myers
28288fafb1
Fix MSVC warnings. (#5619) 2026-03-04 07:52:50 +01:00
Ray
23c06bc6f1 Updating raygui for examples 2026-03-04 00:22:50 +01:00
Dmitry Mozgin
70a1a57a12
Remove unnecessary define from raylib_opengl_interop.c (#5618) 2026-03-03 19:04:06 +01:00
Ray
2c5e7f8db6 REVIEWED: example: textures_clipboard_image 2026-03-02 12:42:55 +01:00
Maicon Santana
8596c940ae
Add clipboard image example to showcase the chipboard image functionality (#5604) 2026-03-02 12:34:02 +01:00
Ray
2b3218c3db REVIEWED: Start working on raylib 6.0 release... 2026-02-26 23:59:30 +01:00
Jeffery Myers
72b206624f
MSVC warnings (#5595) 2026-02-26 18:33:08 +01:00
Thomas Anderson
b57526d71e
update makefile and such (#5591) 2026-02-26 00:38:37 +01:00
Ray
29b5844119 REVIEWED: Comments and header 2026-02-24 12:48:54 +01:00
Ray
aec6e85ec3 Update raygui.h 2026-02-24 12:40:17 +01:00
Ray
25e521553d Update models_animation_blending.c 2026-02-24 12:33:00 +01:00
BadRAM
ace4d77bfa
New example: textures_magnifying_glass (#5587) 2026-02-24 11:26:30 +01:00
Ray
7f0cedba63 Update shaders_shadowmap_rendering.c 2026-02-24 01:31:40 +01:00
Ray
ade81248c3 REVIEWED: Right timing 2026-02-24 01:26:07 +01:00
Ray
d4dc038e2e WARNING: BREAKING: REDESIGNED: **Animation System** #4606
REVIEWED: Reorganized structures for a clearer distinction between "skeleton", "skin" and "skinning" data
ADDED: New structures: `ModelSkeleton`, `ModelAnimPose` (alias `Transform*`)
ADDED: Runtime data `currentPose` and `boneMatrices` to `Model` structure
ADDED: Support animation frames-blending, for timing control
ADDED: Support animations blending, between two animations
REVIEWED: All models animation loading functions
ADDED: `UpdateModelAnimationEx()` for two animations blending
REMOVED: `UpdateModelAnimationBones*()`, simplified API
REVIEWED: Shader attributes/uniforms names for animations, for consistency
REVIEWED: Multiple tweaks on animations loading for consistency between formats
ADDED: example: `models_animation_timing`
ADDED: example: `models_animation_blending`
REVIEWED: example: `models_animation_gpu_skinning`
REVIEWED: example: `models_animation_blend_custom`
REVIEWED: All animated models loading examples
2026-02-24 01:18:57 +01:00
Ray
770677da1f Merge branch 'master' of https://github.com/raysan5/raylib 2026-02-24 00:51:22 +01:00
Ray
3f36c2d3f5 Update raygui.h 2026-02-24 00:51:20 +01:00
Thomas Anderson
e4cbf6b79c
make glfw consistent (#5583) 2026-02-23 21:07:42 +01:00
Ray
43d8933404 Renamed skinning shader variables (new default naming) 2026-02-23 01:45:23 +01:00
Ray
ae6d34a731 Renamed some models examples for consistency 2026-02-23 01:43:53 +01:00
Ray
542333b6d3 Update README.md 2026-02-23 01:41:16 +01:00
Ray
cd17ed1d09 Update models_animation_blending.c 2026-02-22 23:09:23 +01:00
Ray
7ba604eb69 REXM: RENAME: models_animation_playing --> models_loading_iqm 2026-02-22 23:08:41 +01:00
Thomas Anderson
d2c4aa11e5
update examples cmakelists (#5580) 2026-02-22 21:35:54 +01:00
Ray
c519e9f566 REVIEWED: Simplified char ** approach 2026-02-20 23:56:11 +01:00
Ray
09f22f3c86 REVIEWED: Avoid const char ** usage (aligned with raylib) 2026-02-20 23:02:43 +01:00
Thomas Anderson
29b9c050c7
fix example (#5575) 2026-02-20 20:18:28 +01:00
Ray
19e6352d37 Update shapes_easings_testbed.c 2026-02-20 18:16:49 +01:00
Ray
d03a59ca3e Update core_directory_files.c 2026-02-20 16:36:13 +01:00
Ray
d996bf2bbd Update textures_screen_buffer.c 2026-02-20 16:06:59 +01:00
Ray
f33823cefe Update textures_screen_buffer.c 2026-02-20 15:55:38 +01:00
Ray
1a5e22808c REXM: Update examples collection 2026-02-19 17:19:44 +01:00
Ray
1f4e1bc477 REXM: Update examples collection 2026-02-19 17:18:50 +01:00
Ray
dea67fa18a REXM: Update examples collection 2026-02-19 17:15:26 +01:00
Ray
b9f16a28d3 REXM: Update examples collection 2026-02-19 17:13:20 +01:00
Ray
0a7c7569aa Update examples_list.txt 2026-02-19 17:11:32 +01:00
Ray
781c37972a Updated examples, removed others category processing 2026-02-19 17:11:02 +01:00
Ray
d40ad48326 REVIEWED: examples: moved some examples out of others 2026-02-19 17:01:27 +01:00
Ray
98c7734911 REVIEWED: models_basic_voxel example 2026-02-19 16:46:48 +01:00
Ray
71607db667 Moved easings example to shapes 2026-02-19 16:46:30 +01:00
Kirandeep-Singh-Khehra
0e6cb0993d
[rmodels] Added implementation of UpdateModelAnimationBonesWithBlending() function (#4578)
* [rmodels] Added implementation of `UpdateModelAnimationBonesWithBlending()` function

Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com>

* [rmodels] Added example for animation blending and fixed wrap issue for blend factor

Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com>

* [rmodels] Updated build information for animation blending example

Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com>

* [rmodels] Fixed typos in anmation blending example

Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com>

* [rmodels] Updated blend function signature and added function to update verts from bones

Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com>

* [rmodels] Updated documentation

Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com>

* rlparser: update raylib_api.* by CI

* rlparser: update raylib_api.* by CI

---------

Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com>
Co-authored-by: Ray <raysan5@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-19 12:57:05 +01:00
Ray
872cfae7ca REVIEWED: LoadDirectoryFilesEx(), minor tweak #5569 2026-02-17 16:51:50 +01:00
Ray
1955516f54 Updated raygui for examples 2026-02-17 16:39:02 +01:00
Ray
95edeeccd2 REVIEWED: example: models_animation_bone_blending 2026-02-17 16:17:14 +01:00
dmitrii-brand
4311df1e6d
Add bone blending animation example (#5543)
- Demonstrates per-bone animation blending for smooth transitions
- Supports upper/lower body selective blending (walk + attack)
- Includes uniform blending mode for comparison
- Uses GPU skinning for performance
- Follows raylib example conventions
2026-02-17 15:43:46 +01:00
Ray
7c48fa9ac9 Update Makefile 2026-02-15 20:20:53 +01:00
Ray
d01f158bd5 REVIEWED: Window initialization on HighDPI monitor (Windows) #5549 2026-02-15 13:21:08 +01:00
Thomas Anderson
b04d2a2268
change d-pad text to shapes (#5557) 2026-02-14 22:13:22 +01:00
Thomas Anderson
b210d16597
fix y-offset casting (#5556) 2026-02-14 22:12:44 +01:00
Thomas Anderson
4d6ef19fcc
change on-screen text (#5553) 2026-02-14 22:12:11 +01:00
Thomas Anderson
fd40d2b374
fix missing alias for PS (#5559) 2026-02-14 22:11:47 +01:00
Thomas Anderson
a78d575f75
change attenuation distance (#5555) 2026-02-14 22:11:18 +01:00
Thomas Anderson
8f1421ee5d
fix wrong name (#5552) 2026-02-14 22:10:31 +01:00
Thomas Anderson
debbb90479
fix extra drawtext() (#5551) 2026-02-14 22:09:52 +01:00
Max Coplan
85de580527
fix(examples): don't bleed fog when on edge (#5547)
Steps to reproduce:
1. play textures_fog_of_war example
2. Move player to edge of screen
3. Note the light bleeds to the other side of the screen
2026-02-12 16:15:47 +01:00
Ray
9861baf4b7 Update textures_framebuffer_rendering.c 2026-02-09 22:26:07 +01:00
Maicon Santana
f43e049444
Refactor removing extra space and add break line for { (#5533)
Co-authored-by: maiconpintoabreu <maicon@thinkpad02.exads.com>
2026-02-05 15:10:55 +01:00
Maicon Santana
d4f636151b
refactor to follow the CONVENTIONS.md (#5530)
Co-authored-by: maiconpintoabreu <maicon@thinkpad02.exads.com>
2026-02-04 19:43:55 +01:00
Maicon Santana
08e79a16b0
Refactoring {0} to { 0 } to follow conventions (#5519)
Co-authored-by: maiconpintoabreu <maicon@thinkpad02.exads.com>
2026-01-29 17:30:03 +01:00
Maicon Santana
afe74c1c70
Refactor int to float missing parse (#5503)
* refactor int to float parse

* Reverting  as requested

---------

Co-authored-by: Maicon <maicon@thinkpad02.exads.com>
2026-01-24 21:53:22 +01:00
Ray
c610d228a2 Update text_inline_styling.c 2026-01-20 21:01:41 +01:00
Ray
a8c75f2bc5 Update models_first_person_maze.c 2026-01-17 20:15:48 +01:00
Ray
fbed591a6f Reviewed example 2026-01-17 20:15:45 +01:00
jscaff
10b94b02ad
Fix opengl interop single header library not having it's implementation loaded (#5498) 2026-01-15 23:30:13 +01:00
Ray
644ff28f87 Update shaders_deferred_rendering.c 2026-01-12 13:36:40 +01:00
Ray
1284d68721 Update core_highdpi_testbed.png 2026-01-09 20:18:45 +01:00
Ray
11f7db2dd8 REXM: ADDED: core_keyboard_testbed 2026-01-09 20:06:53 +01:00
Ray
7218b674e5 REXM: Updated: textures_framebuffer_rendering 2026-01-09 20:05:46 +01:00
Ray
cfd5c3f2ab Update examples_list.txt 2026-01-09 20:02:29 +01:00
Ray
b365d23f49 Update examples_list.txt 2026-01-09 19:59:38 +01:00
Ray
5cc42c1b80 Updated file name 2026-01-09 19:55:26 +01:00
Ray
c814625c00 Update models_first_person_maze.c 2026-01-07 22:40:28 +01:00
Paul de Mascarel
5e1f5d5b74
examples/models: optimize collision check in first_person_maze (#5478)
Limit collision detection to the player surrounding cells instead of
iterating the full cubicmap each frame.
2026-01-07 22:38:04 +01:00
Ray
35fc8ece44 Update models_decals.c 2026-01-03 23:01:37 +01:00
Jack Boakes
a44157c2a8
[example] Added textures_frame_buffer_rendering (#5468) 2026-01-03 22:41:52 +01:00
Jeffery Myers
b00cbdaf49
Cleanup warnings in examples (#5467) 2026-01-03 22:38:51 +01:00
sleeptightAnsiC
942f93db55
fix(build): do not use != assignment in Makefiles (#5464)
GNU Make 3.81 that ships with MacOSX does not understand '!= ...' assignment
so we use ':= $(shell ...)' instead which have the same behavior here.

Additionally, I have changed the use of 'type' to 'command -v'
because assigning the result of 'type' to variable named 'EMMAKE'
does not make much sense. I also reused this variable.

For more detailed information read the linked issue.

Fixes: https://github.com/raysan5/raylib/issues/5460
2026-01-02 18:36:22 +01:00
Ray
416af51a93 Update year to 2026 2026-01-02 13:40:15 +01:00
Jeffery Myers
980e4d0ad3
Use the size of the texture as the V scale so repeatable textures work well (#5463) 2026-01-02 13:15:25 +01:00
Ray
83377a3488 Update examples_list.txt 2025-12-31 22:29:12 +01:00
Ray
9b183e0c5e REXM: Update examples and reports 2025-12-30 23:21:10 +01:00
RANDRIA Luca
4054fc42f3
Remove stdio.h unused header (#5456) 2025-12-30 22:09:20 +01:00
Ray
695f353533 Update Makefile.Web 2025-12-30 22:07:23 +01:00
Ray
f260f5fdd0 Update Makefile 2025-12-30 22:06:18 +01:00
Ray
fa1d4eb7fa Update shapes_hilbert_curve.c 2025-12-30 22:06:05 +01:00
Ray
ebf2f61425 Delete core_input_keyboard_gamepad_test.c 2025-12-30 22:03:36 +01:00
Ray
6dfaf9fe7e REVIEWED: example shapes_hilbert_curve #5454
Make it more didactic and dynamic, avoid global variables
2025-12-30 21:19:54 +01:00
Hamza RAHAL
7523738677
Add hilbert curve example (#5454) 2025-12-30 20:11:37 +01:00
Ray
6450a48c75 Update core_highdpi_testbed.c 2025-12-28 20:03:51 +01:00
Ray
8871d7648d Update core_highdpi_testbed.c 2025-12-28 19:49:38 +01:00
Ray
297dcc07b8 Update core_highdpi_testbed.c 2025-12-28 16:08:34 +01:00
Alvin De Cruz
5e14ac5a2e
#5387 - Fix keyboard input detected as gamepad on some Android devices (#5439)
* [rcore][android] Fix keyboard input detected as gamepad on some devices (#5387)

* [core] Add keyboard vs gamepad input test example (#5387)
2025-12-26 20:42:32 +01:00
Ray
05f42aa119 Update core_highdpi_testbed.c 2025-12-24 18:02:04 +01:00
Ray
b9446863d7 REXM: RENAMED: core_high_dpi --> core_highdpi_demo 2025-12-20 22:36:44 +01:00