raylib/examples
Ahmad Fatoum eb6f8bd0ba
Revert "Always use latest raylib version for cmake (#1123)" (#1126)
We didn't use the latest version, but a compatible version, which is established by raylib-config-version.cmake.

It's ok to have a minimal version, so revert b7c0d5b6dd.
2020-03-09 08:29:47 +01:00
..
audio Review example and screenshots 2020-01-09 12:58:24 +01:00
core Remove trail spaces and some tweaks 2020-02-27 13:33:09 +01:00
models Some code tweaks 2020-03-03 01:21:06 +01:00
network [rnet] Renamed some functions 2020-02-20 13:46:33 +01:00
others Correct typo 2020-02-26 23:19:29 +01:00
physics Renamed directory: physac -> physics 2020-01-09 13:11:56 +01:00
shaders Some code tweaks 2020-03-03 01:21:06 +01:00
shapes Update raygui.h 2019-07-27 12:42:18 +02:00
text [build] Makefile examples modularization 2020-01-30 13:47:39 +01:00
textures Support touch drawing on web 2020-03-02 12:22:38 +01:00
CMakeLists.txt Revert "Always use latest raylib version for cmake (#1123)" (#1126) 2020-03-09 08:29:47 +01:00
Makefile Update raylib version 2020-03-05 19:33:54 +01:00
Makefile.Android Reviewed and Updated Android compilation scripts 2020-03-05 12:25:39 +01:00
README.md Update README.md 2020-01-28 18:32:48 +01:00
examples_template.c Create examples_template.c 2019-05-03 17:56:58 +02:00
raylib_compile_execute.bat Add WinMM library for linkage 2019-05-10 20:51:48 +02:00
raylib_makefile_example.bat Added CMD compilation scripts for examples 2019-01-21 23:59:35 +01:00

README.md

EXAMPLES LIST

category: core

Examples using raylib core platform functionality like window creation, inputs, drawing modes and system functionality.

## example image developer new
01 core_basic_window core_basic_window ray
02 core_input_keys core_input_keys ray
03 core_input_mouse core_input_mouse ray
04 core_input_mouse_wheel core_input_mouse_wheel ray
05 core_input_gamepad core_input_gamepad ray
06 core_input_multitouch core_input_multitouch Berni
07 core_input_gestures core_input_gestures ray
08 core_2d_camera core_2d_camera ray
09 core_2d_camera_platformer core_2d_camera_platformer avyy
10 core_3d_camera_mode core_3d_camera_mode ray
11 core_3d_camera_free core_3d_camera_free ray
12 core_3d_camera_first_person core_3d_camera_first_person ray
13 core_3d_picking core_3d_picking ray
14 core_world_screen core_world_screen ray
15 core_custom_logging core_custom_logging Pablo Marcos
16 core_window_letterbox core_window_letterbox Anata
17 core_drop_files core_drop_files ray
18 core_random_values core_random_values ray
19 core_storage_values core_storage_values ray
20 core_vr_simulator core_vr_simulator ray
21 core_loading_thread core_loading_thread ray
22 core_scissor_test core_scissor_test Chris Dill

category: shapes

Examples using raylib shapes drawing functionality, provided by raylib shapes module.

## example image developer new
23 shapes_basic_shapes shapes_basic_shapes ray
24 shapes_bouncing_ball shapes_bouncing_ball ray
25 shapes_colors_palette shapes_colors_palette ray
26 shapes_logo_raylib shapes_logo_raylib ray
27 shapes_logo_raylib_anim shapes_logo_raylib_anim ray
28 shapes_rectangle_scaling shapes_rectangle_scaling Vlad Adrian
29 shapes_lines_bezier shapes_lines_bezier ray
30 shapes_collision_area shapes_collision_area ray
31 shapes_following_eyes shapes_following_eyes ray
32 shapes_easings_ball_anim shapes_easings_ball_anim ray
33 shapes_easings_box_anim shapes_easings_box_anim ray
34 shapes_easings_rectangle_array shapes_easings_rectangle_array ray
35 shapes_draw_ring shapes_draw_ring Vlad Adrian
36 shapes_draw_circle_sector shapes_draw_circle_sector Vlad Adrian
37 shapes_draw_rectangle_rounded shapes_draw_rectangle_rounded Vlad Adrian

category: text

Examples using raylib text functionality, including sprite fonts loading/generation and text drawing, provided by raylib text module.

## example image developer new
38 text_raylib_fonts text_raylib_fonts ray
39 text_font_spritefont text_font_spritefont ray
40 text_font_filters text_font_filters ray
41 text_font_loading text_font_loading ray
42 text_font_sdf text_font_sdf ray
43 text_format_text text_format_text ray
44 text_input_box text_input_box ray
45 text_writing_anim text_writing_anim ray
46 text_rectangle_bounds text_rectangle_bounds Vlad Adrian
47 text_unicode text_unicode Vlad Adrian

category: textures

Examples using raylib textures functionality, including image/textures loading/generation and drawing, provided by raylib textures module.

## example image developer new
48 textures_logo_raylib textures_logo_raylib ray
49 textures_rectangle textures_rectangle ray
50 textures_srcrec_dstrec textures_srcrec_dstrec ray
51 textures_image_drawing textures_image_drawing ray
52 textures_image_generation textures_image_generation ray
53 textures_image_loading textures_image_loading ray
54 textures_image_processing textures_image_processing ray
55 textures_image_text textures_image_text ray
56 textures_to_image textures_to_image ray
57 textures_raw_data textures_raw_data ray
58 textures_particles_blending textures_particles_blending ray
59 textures_npatch_drawing textures_npatch_drawing Jorge A. Gomes
60 textures_background_scrolling textures_background_scrolling ray
61 textures_sprite_button textures_sprite_button ray
62 textures_sprite_explosion textures_sprite_explosion ray
63 textures_bunnymark textures_bunnymark ray
64 textures_mouse_painting textures_mouse_painting Chris Dill

category: models

Examples using raylib models functionality, including models loading/generation and drawing, provided by raylib models module.

## example image developer new
65 models_animation models_animation culacant
66 models_billboard models_billboard ray
67 models_box_collisions models_box_collisions ray
68 models_cubicmap models_cubicmap ray
69 models_first_person_maze models_first_person_maze ray
70 models_geometric_shapes models_geometric_shapes ray
71 models_material_pbr models_material_pbr ray
72 models_mesh_generation models_mesh_generation ray
73 models_mesh_picking models_mesh_picking Joel Davis
74 models_loading models_loading ray
75 models_orthographic_projection models_orthographic_projection Max Danielsson
76 TODO TODO TODO
77 TODO TODO TODO
78 models_solar_system_rlgl models_rlgl_solar_system ray
79 models_yaw_pitch_roll models_yaw_pitch_roll Berni
80 models_waving_cubes models_waving_cubes codecat
81 models_heightmap models_heightmap ray
82 models_skybox models_skybox ray

category: shaders

Examples using raylib shaders functionality, including shaders loading, parameters configuration and drawing using them (model shaders and postprocessing shaders). This functionality is directly provided by raylib rlgl module.

## example image developer new
83 shaders_basic_lighting shaders_basic_lighting Chris Camacho
84 shaders_model_shader shaders_model_shader ray
85 shaders_shapes_textures shaders_shapes_textures ray
86 shaders_custom_uniform shaders_custom_uniform ray
87 shaders_postprocessing shaders_postprocessing ray
88 shaders_palette_switch shaders_palette_switch Marco Lizza
89 shaders_raymarching shaders_raymarching Shader by Iñigo Quilez
90 shaders_texture_drawing shaders_texture_drawing Michał Ciesielski
91 shaders_texture_waves shaders_texture_waves Anata
92 shaders_julia_set shaders_julia_set eggmund
93 shaders_eratosthenes shaders_eratosthenes ProfJski
94 shaders_fog shaders_fog Chris Camacho
95 shaders_simple_mask shaders_simple_mask Chris Camacho

category: audio

Examples using raylib audio functionality, including sound/music loading and playing. This functionality is provided by raylib raudio module. Note this module can be used standalone independently of raylib, check raudio_standalone example.

## example image developer new
96 audio_module_playing audio_module_playing ray
97 audio_music_stream audio_music_stream ray
98 audio_raw_stream audio_raw_stream ray
99 audio_sound_loading audio_sound_loading ray
100 audio_multichannel_sound audio_multichannel_sound Chris Camacho

category: physics

Examples showing physics functionality with raylib. This functionality is provided by physac library, included with raylib sources. Note this library is not linked with raylib by default, it should be manually included in user code.

## example image developer new
101 physics_demo physics_demo Victor Fisac
102 physics_friction physics_friction Victor Fisac
103 physics_movement physics_movement Victor Fisac
104 physics_restitution physics_restitution Victor Fisac
105 physics_shatter physics_shatter Victor Fisac

category: network

Examples showing raylib network functionality. This functionality is provided by rnet module.

Note that rnet module is under development and not ready yet.

## example image developer new
106 network_ping_pong Jak Barnes
107 network_resolve_host Jak Barnes
108 network_tcp_client Jak Barnes
109 network_tcp_server Jak Barnes
110 network_test Jak Barnes
111 network_udp_client Jak Barnes
112 network_udp_server Jak Barnes

category: others

Examples showing raylib misc functionality that does not fit in other categories, like standalone modules usage or examples integrating external libraries.

## example image developer new
113 raudio_standalone ray
114 rlgl_standalone ray
115 easings_testbed ray

As always contributions are welcome, feel free to send new examples! Here it is an examples template to start with!