Skip to content

Commit 773e3f5

Browse files
anstropleutonAnstro Pleuton
and
Anstro Pleuton
authored
Update more examples inconsistencies (#4711)
Co-authored-by: Anstro Pleuton <[email protected]>
1 parent 10d0616 commit 773e3f5

23 files changed

+193
-131
lines changed

examples/README.md

+148-126
Large diffs are not rendered by default.

examples/core/core_basic_window_web.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [core] example - Basic window (adapted for HTML5 platform)
44
*
5+
* Example complexity rating: [★☆☆☆] 1/4
6+
*
57
* NOTE: This example is prepared to compile for PLATFORM_WEB, and PLATFORM_DESKTOP
68
* As you will notice, code structure is slightly diferent to the other examples...
79
* To compile it for PLATFORM_WEB just uncomment #define PLATFORM_WEB at beginning

examples/core/core_input_gestures_web.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [core] example - Input Gestures for Web
44
*
5+
* Example complexity rating: [★★☆☆] 2/4
6+
*
57
* Example originally created with raylib 4.6-dev, last time updated with raylib 4.6-dev
68
*
79
* Example contributed by ubkp (@ubkp) and reviewed by Ramon Santamaria (@raysan5)

examples/core/core_input_virtual_controls.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [core] example - input virtual controls
44
*
5+
* Example complexity rating: [★★★☆] 3/4
6+
*
57
* Example originally created with raylib 5.0, last time updated with raylib 5.0
68
*
79
* Example create by GreenSnakeLinux (@GreenSnakeLinux),
@@ -12,7 +14,7 @@
1214
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
1315
* BSD-like license that allows static linking with closed source software
1416
*
15-
* Copyright (c) 2024-2025 Ramon Santamaria (@raysan5)
17+
* Copyright (c) 2024-2025 oblerion (@oblerion) and Ramon Santamaria (@raysan5)
1618
*
1719
********************************************************************************************/
1820

examples/core/core_random_sequence.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [core] example - Generates a random sequence
44
*
5+
* Example complexity rating: [★☆☆☆] 1/4
6+
*
57
* Example originally created with raylib 5.0, last time updated with raylib 5.0
68
*
79
* Example contributed by Dalton Overmyer (@REDl3east) and reviewed by Ramon Santamaria (@raysan5)

examples/models/models_bone_socket.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*******************************************************************************************
22
*
33
* raylib [core] example - Using bones as socket for calculating the positioning of something
4+
*
5+
* Example complexity rating: [★★★★] 4/4
46
*
57
* Example originally created with raylib 4.5, last time updated with raylib 4.5
68
*

examples/models/models_gpu_skinning.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*******************************************************************************************
22
*
33
* raylib [core] example - Doing skinning on the gpu using a vertex shader
4+
*
5+
* Example complexity rating: [★★★☆] 3/4
46
*
57
* Example originally created with raylib 4.5, last time updated with raylib 4.5
68
*

examples/models/models_point_rendering.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib example - point rendering
44
*
5+
* Example complexity rating: [★★★☆] 3/4
6+
*
57
* Example originally created with raylib 5.0, last time updated with raylib 5.0
68
*
79
* Example contributed by Reese Gallagher (@satchelfrost) and reviewed by Ramon Santamaria (@raysan5)

examples/models/models_tesseract_view.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
*
55
* NOTE: This example only works on platforms that support drag & drop (Windows, Linux, OSX, Html5?)
66
*
7+
* Example complexity rating: [★★☆☆] 2/4
8+
*
79
* Example originally created with raylib 5.6-dev, last time updated with raylib 5.6-dev
810
*
911
* Example contributed by Timothy van der Valk (@arceryz) and reviewed by Ramon Santamaria (@raysan5)

examples/others/easings_testbed.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
*
55
* Example originally created with raylib 2.5, last time updated with raylib 2.5
66
*
7+
* Example complexity rating: [★★★☆] 3/4
8+
*
79
* Example contributed by Juan Miguel López (@flashback-fx) and reviewed by Ramon Santamaria (@raysan5)
810
*
911
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,

examples/others/embedded_files_loading.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [others] example - Embedded files loading (Wave and Image)
44
*
5+
* Example complexity rating: [★★☆☆] 2/4
6+
*
57
* Example originally created with raylib 3.0, last time updated with raylib 2.5
68
*
79
* Example contributed by Kristian Holmgren (@defutura) and reviewed by Ramon Santamaria (@raysan5)

examples/others/raylib_opengl_interop.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [shaders] example - OpenGL point particle system
44
*
5+
* Example complexity rating: [★★★★] 4/4
6+
*
57
* Example originally created with raylib 3.8, last time updated with raylib 2.5
68
*
79
* Example contributed by Stephan Soller (@arkanis) and reviewed by Ramon Santamaria (@raysan5)

examples/others/raymath_vector_angle.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [shapes] example - Vector Angle
44
*
5+
* Example complexity rating: [★★☆☆] 2/4
6+
*
57
* Example originally created with raylib 1.0, last time updated with raylib 4.6
68
*
79
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,

examples/others/rlgl_compute_shader.c

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* NOTE: This example requires raylib OpenGL 4.3 versions for compute shaders support,
66
* shaders used in this example are #version 430 (OpenGL 4.3)
77
*
8+
* Example complexity rating: [★★★★] 4/4
9+
*
810
* Example originally created with raylib 4.0, last time updated with raylib 2.5
911
*
1012
* Example contributed by Teddy Astie (@tsnake41) and reviewed by Ramon Santamaria (@raysan5)

examples/others/rlgl_standalone.c

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* rlgl library is an abstraction layer for multiple OpenGL versions (1.1, 2.1, 3.3 Core, ES 2.0)
66
* that provides a pseudo-OpenGL 1.1 immediate-mode style API (rlVertex, rlTranslate, rlRotate...)
77
*
8+
* Example complexity rating: [★★★★] 4/4
9+
*
810
* Example originally created with raylib 1.6, last time updated with raylib 4.0
911
*
1012
* WARNING: This example is intended only for PLATFORM_DESKTOP and OpenGL 3.3 Core profile.

examples/shaders/shaders_basic_lighting.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
*
1212
* Example originally created with raylib 3.0, last time updated with raylib 4.2
1313
*
14-
* Example contributed by Chris Camacho (@codifies) and reviewed by Ramon Santamaria (@raysan5)
14+
* Example contributed by Chris Camacho (@chriscamacho) and reviewed by Ramon Santamaria (@raysan5)
1515
*
1616
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
1717
* BSD-like license that allows static linking with closed source software
1818
*
19-
* Copyright (c) 2019-2025 Chris Camacho (@codifies) and Ramon Santamaria (@raysan5)
19+
* Copyright (c) 2019-2025 Chris Camacho (@chriscamacho) and Ramon Santamaria (@raysan5)
2020
*
2121
********************************************************************************************/
2222

examples/shaders/shaders_basic_pbr.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [shaders] example - Basic PBR
44
*
5+
* Example complexity rating: [★★★★] 4/4
6+
*
57
* Example originally created with raylib 5.0, last time updated with raylib 5.1-dev
68
*
79
* Example contributed by Afan OLOVCIC (@_DevDad) and reviewed by Ramon Santamaria (@raysan5)

examples/shaders/shaders_shadowmap.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [shaders] example - Shadowmap
44
*
5+
* Example complexity rating: [★★★★] 4/4
6+
*
57
* Example originally created with raylib 5.0, last time updated with raylib 5.0
68
*
79
* Example contributed by TheManTheMythTheGameDev (@TheManTheMythTheGameDev) and reviewed by Ramon Santamaria (@raysan5)

examples/shaders/shaders_vertex_displacement.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [shaders] example - Vertex displacement
44
*
5+
* Example complexity rating: [★★★☆] 3/4
6+
*
57
* Example originally created with raylib 5.0, last time updated with raylib 4.5
68
*
79
* Example contributed by Alex ZH (@ZzzhHe) and reviewed by Ramon Santamaria (@raysan5)

examples/textures/textures_image_channel.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
*
55
* NOTE: Images are loaded in CPU memory (RAM); textures are loaded in GPU memory (VRAM)
66
*
7+
* Example complexity rating: [★★☆☆] 2/4
8+
*
79
* Example originally created with raylib 5.1-dev, last time updated with raylib 5.1-dev
810
*
911
* Example contributed by Bruno Cabral (@brccabral) and reviewed by Ramon Santamaria (@raysan5)

examples/textures/textures_image_kernel.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [textures] example - Image loading and texture creation
44
*
5+
* Example complexity rating: [★★★★] 4/4
6+
*
57
* NOTE: Images are loaded in CPU memory (RAM); textures are loaded in GPU memory (VRAM)
68
*
79
* Example contributed by Karim Salem (@kimo-s) and reviewed by Ramon Santamaria (@raysan5)

examples/textures/textures_image_rotate.c

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* raylib [textures] example - Image Rotation
44
*
5+
* Example complexity rating: [★★☆☆] 2/4
6+
*
57
* Example originally created with raylib 1.0, last time updated with raylib 1.0
68
*
79
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,

examples/textures/textures_polygon.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
*
77
* Example originally created with raylib 3.7, last time updated with raylib 3.7
88
*
9-
* Example contributed by Chris Camacho (@codifies) and reviewed by Ramon Santamaria (@raysan5)
9+
* Example contributed by Chris Camacho (@chriscamacho) and reviewed by Ramon Santamaria (@raysan5)
1010
*
1111
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
1212
* BSD-like license that allows static linking with closed source software
1313
*
14-
* Copyright (c) 2021-2025 Chris Camacho (@codifies) and Ramon Santamaria (@raysan5)
14+
* Copyright (c) 2021-2025 Chris Camacho (@chriscamacho) and Ramon Santamaria (@raysan5)
1515
*
1616
********************************************************************************************/
1717

0 commit comments

Comments
 (0)