Skip to content

Commit

Permalink
Update more examples inconsistencies (#4711)
Browse files Browse the repository at this point in the history
Co-authored-by: Anstro Pleuton <[email protected]>
  • Loading branch information
anstropleuton and Anstro Pleuton authored Jan 19, 2025
1 parent 10d0616 commit 773e3f5
Show file tree
Hide file tree
Showing 23 changed files with 193 additions and 131 deletions.
274 changes: 148 additions & 126 deletions examples/README.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions examples/core/core_basic_window_web.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [core] example - Basic window (adapted for HTML5 platform)
*
* Example complexity rating: [★☆☆☆] 1/4
*
* NOTE: This example is prepared to compile for PLATFORM_WEB, and PLATFORM_DESKTOP
* As you will notice, code structure is slightly diferent to the other examples...
* To compile it for PLATFORM_WEB just uncomment #define PLATFORM_WEB at beginning
Expand Down
2 changes: 2 additions & 0 deletions examples/core/core_input_gestures_web.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [core] example - Input Gestures for Web
*
* Example complexity rating: [★★☆☆] 2/4
*
* Example originally created with raylib 4.6-dev, last time updated with raylib 4.6-dev
*
* Example contributed by ubkp (@ubkp) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
4 changes: 3 additions & 1 deletion examples/core/core_input_virtual_controls.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [core] example - input virtual controls
*
* Example complexity rating: [★★★☆] 3/4
*
* Example originally created with raylib 5.0, last time updated with raylib 5.0
*
* Example create by GreenSnakeLinux (@GreenSnakeLinux),
Expand All @@ -12,7 +14,7 @@
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
* BSD-like license that allows static linking with closed source software
*
* Copyright (c) 2024-2025 Ramon Santamaria (@raysan5)
* Copyright (c) 2024-2025 oblerion (@oblerion) and Ramon Santamaria (@raysan5)
*
********************************************************************************************/

Expand Down
2 changes: 2 additions & 0 deletions examples/core/core_random_sequence.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [core] example - Generates a random sequence
*
* Example complexity rating: [★☆☆☆] 1/4
*
* Example originally created with raylib 5.0, last time updated with raylib 5.0
*
* Example contributed by Dalton Overmyer (@REDl3east) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
2 changes: 2 additions & 0 deletions examples/models/models_bone_socket.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*******************************************************************************************
*
* raylib [core] example - Using bones as socket for calculating the positioning of something
*
* Example complexity rating: [★★★★] 4/4
*
* Example originally created with raylib 4.5, last time updated with raylib 4.5
*
Expand Down
2 changes: 2 additions & 0 deletions examples/models/models_gpu_skinning.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*******************************************************************************************
*
* raylib [core] example - Doing skinning on the gpu using a vertex shader
*
* Example complexity rating: [★★★☆] 3/4
*
* Example originally created with raylib 4.5, last time updated with raylib 4.5
*
Expand Down
2 changes: 2 additions & 0 deletions examples/models/models_point_rendering.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib example - point rendering
*
* Example complexity rating: [★★★☆] 3/4
*
* Example originally created with raylib 5.0, last time updated with raylib 5.0
*
* Example contributed by Reese Gallagher (@satchelfrost) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
2 changes: 2 additions & 0 deletions examples/models/models_tesseract_view.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
*
* NOTE: This example only works on platforms that support drag & drop (Windows, Linux, OSX, Html5?)
*
* Example complexity rating: [★★☆☆] 2/4
*
* Example originally created with raylib 5.6-dev, last time updated with raylib 5.6-dev
*
* Example contributed by Timothy van der Valk (@arceryz) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
2 changes: 2 additions & 0 deletions examples/others/easings_testbed.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
*
* Example originally created with raylib 2.5, last time updated with raylib 2.5
*
* Example complexity rating: [★★★☆] 3/4
*
* Example contributed by Juan Miguel López (@flashback-fx) and reviewed by Ramon Santamaria (@raysan5)
*
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
Expand Down
2 changes: 2 additions & 0 deletions examples/others/embedded_files_loading.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [others] example - Embedded files loading (Wave and Image)
*
* Example complexity rating: [★★☆☆] 2/4
*
* Example originally created with raylib 3.0, last time updated with raylib 2.5
*
* Example contributed by Kristian Holmgren (@defutura) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
2 changes: 2 additions & 0 deletions examples/others/raylib_opengl_interop.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [shaders] example - OpenGL point particle system
*
* Example complexity rating: [★★★★] 4/4
*
* Example originally created with raylib 3.8, last time updated with raylib 2.5
*
* Example contributed by Stephan Soller (@arkanis) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
2 changes: 2 additions & 0 deletions examples/others/raymath_vector_angle.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [shapes] example - Vector Angle
*
* Example complexity rating: [★★☆☆] 2/4
*
* Example originally created with raylib 1.0, last time updated with raylib 4.6
*
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
Expand Down
2 changes: 2 additions & 0 deletions examples/others/rlgl_compute_shader.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* NOTE: This example requires raylib OpenGL 4.3 versions for compute shaders support,
* shaders used in this example are #version 430 (OpenGL 4.3)
*
* Example complexity rating: [★★★★] 4/4
*
* Example originally created with raylib 4.0, last time updated with raylib 2.5
*
* Example contributed by Teddy Astie (@tsnake41) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
2 changes: 2 additions & 0 deletions examples/others/rlgl_standalone.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* rlgl library is an abstraction layer for multiple OpenGL versions (1.1, 2.1, 3.3 Core, ES 2.0)
* that provides a pseudo-OpenGL 1.1 immediate-mode style API (rlVertex, rlTranslate, rlRotate...)
*
* Example complexity rating: [★★★★] 4/4
*
* Example originally created with raylib 1.6, last time updated with raylib 4.0
*
* WARNING: This example is intended only for PLATFORM_DESKTOP and OpenGL 3.3 Core profile.
Expand Down
4 changes: 2 additions & 2 deletions examples/shaders/shaders_basic_lighting.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
*
* Example originally created with raylib 3.0, last time updated with raylib 4.2
*
* Example contributed by Chris Camacho (@codifies) and reviewed by Ramon Santamaria (@raysan5)
* Example contributed by Chris Camacho (@chriscamacho) and reviewed by Ramon Santamaria (@raysan5)
*
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
* BSD-like license that allows static linking with closed source software
*
* Copyright (c) 2019-2025 Chris Camacho (@codifies) and Ramon Santamaria (@raysan5)
* Copyright (c) 2019-2025 Chris Camacho (@chriscamacho) and Ramon Santamaria (@raysan5)
*
********************************************************************************************/

Expand Down
2 changes: 2 additions & 0 deletions examples/shaders/shaders_basic_pbr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [shaders] example - Basic PBR
*
* Example complexity rating: [★★★★] 4/4
*
* Example originally created with raylib 5.0, last time updated with raylib 5.1-dev
*
* Example contributed by Afan OLOVCIC (@_DevDad) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
2 changes: 2 additions & 0 deletions examples/shaders/shaders_shadowmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [shaders] example - Shadowmap
*
* Example complexity rating: [★★★★] 4/4
*
* Example originally created with raylib 5.0, last time updated with raylib 5.0
*
* Example contributed by TheManTheMythTheGameDev (@TheManTheMythTheGameDev) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
2 changes: 2 additions & 0 deletions examples/shaders/shaders_vertex_displacement.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [shaders] example - Vertex displacement
*
* Example complexity rating: [★★★☆] 3/4
*
* Example originally created with raylib 5.0, last time updated with raylib 4.5
*
* Example contributed by Alex ZH (@ZzzhHe) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
2 changes: 2 additions & 0 deletions examples/textures/textures_image_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
*
* NOTE: Images are loaded in CPU memory (RAM); textures are loaded in GPU memory (VRAM)
*
* Example complexity rating: [★★☆☆] 2/4
*
* Example originally created with raylib 5.1-dev, last time updated with raylib 5.1-dev
*
* Example contributed by Bruno Cabral (@brccabral) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
2 changes: 2 additions & 0 deletions examples/textures/textures_image_kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [textures] example - Image loading and texture creation
*
* Example complexity rating: [★★★★] 4/4
*
* NOTE: Images are loaded in CPU memory (RAM); textures are loaded in GPU memory (VRAM)
*
* Example contributed by Karim Salem (@kimo-s) and reviewed by Ramon Santamaria (@raysan5)
Expand Down
2 changes: 2 additions & 0 deletions examples/textures/textures_image_rotate.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*
* raylib [textures] example - Image Rotation
*
* Example complexity rating: [★★☆☆] 2/4
*
* Example originally created with raylib 1.0, last time updated with raylib 1.0
*
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
Expand Down
4 changes: 2 additions & 2 deletions examples/textures/textures_polygon.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
*
* Example originally created with raylib 3.7, last time updated with raylib 3.7
*
* Example contributed by Chris Camacho (@codifies) and reviewed by Ramon Santamaria (@raysan5)
* Example contributed by Chris Camacho (@chriscamacho) and reviewed by Ramon Santamaria (@raysan5)
*
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
* BSD-like license that allows static linking with closed source software
*
* Copyright (c) 2021-2025 Chris Camacho (@codifies) and Ramon Santamaria (@raysan5)
* Copyright (c) 2021-2025 Chris Camacho (@chriscamacho) and Ramon Santamaria (@raysan5)
*
********************************************************************************************/

Expand Down

0 comments on commit 773e3f5

Please sign in to comment.