summaryrefslogtreecommitdiffhomepage
path: root/common/examples.js
diff options
context:
space:
mode:
authorRay <[email protected]>2023-11-08 20:23:35 +0100
committerRay <[email protected]>2023-11-08 20:23:35 +0100
commite150f511d1b29ebea5537d9901994461795424db (patch)
treeb6430e6f49178408dd6150f47dc691ccf8113021 /common/examples.js
parentef398c8bbdbfc7a27df28affd15dca1d90e85dfa (diff)
downloadraylib.com-e150f511d1b29ebea5537d9901994461795424db.tar.gz
raylib.com-e150f511d1b29ebea5537d9901994461795424db.zip
Updated examples to latest raylib 5.0 and shell!
Diffstat (limited to 'common/examples.js')
-rw-r--r--common/examples.js197
1 files changed, 103 insertions, 94 deletions
diff --git a/common/examples.js b/common/examples.js
index 992c46e..2f5fa0a 100644
--- a/common/examples.js
+++ b/common/examples.js
@@ -46,131 +46,140 @@ $(document).ready(function() {
}
var exampleData = [
- exampleEntry('⭐️☆☆☆' , 'core' , 'basic_window'),
- exampleEntry('⭐️☆☆☆' , 'core' , 'input_keys'),
- exampleEntry('⭐️☆☆☆' , 'core' , 'input_mouse'),
- exampleEntry('⭐️☆☆☆' , 'core' , 'input_mouse_wheel'),
- exampleEntry('⭐️☆☆☆' , 'core' , 'input_gamepad'),
- exampleEntry('⭐️☆☆☆' , 'core' , 'input_multitouch'),
- exampleEntry('⭐️⭐️☆☆' , 'core' , 'input_gestures'),
- exampleEntry('⭐️⭐️☆☆' , 'core' , '2d_camera'),
- exampleEntry('⭐️⭐️☆☆' , 'core' , '2d_camera_mouse_zoom'),
+ exampleEntry('⭐️☆☆☆' , 'core' , 'basic_window'),
+ exampleEntry('⭐️☆☆☆' , 'core' , 'basic_screen_manager'),
+ exampleEntry('⭐️⭐️☆☆' , 'core' , '2d_camera'),
+ exampleEntry('⭐️⭐️☆☆' , 'core' , '2d_camera_mouse_zoom'),
exampleEntry('⭐️⭐️⭐️☆' , 'core' , '2d_camera_platformer'),
- exampleEntry('⭐️☆☆☆' , 'core' , '3d_camera_mode'),
- exampleEntry('⭐️☆☆☆' , 'core' , '3d_camera_free'),
- exampleEntry('⭐️⭐️☆☆' , 'core' , '3d_camera_first_person'),
- exampleEntry('⭐️⭐️☆☆' , 'core' , '3d_picking'),
- exampleEntry('⭐️⭐️☆☆' , 'core' , 'world_screen'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'core' , '2d_camera_split_screen'),
+ exampleEntry('⭐️⭐️☆☆' , 'core' , '3d_camera_first_person'),
+ exampleEntry('⭐️☆☆☆' , 'core' , '3d_camera_free'),
+ exampleEntry('⭐️☆☆☆' , 'core' , '3d_camera_mode'),
+ exampleEntry('⭐️⭐️⭐️☆' , 'core' , '3d_camera_split_screen'),
+ exampleEntry('⭐️⭐️☆☆' , 'core' , '3d_picking'),
+ exampleEntry('⭐️⭐️⭐️☆' , 'core' , 'automation_events'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'core' , 'custom_frame_control'),
exampleEntry('⭐️⭐️⭐️☆' , 'core' , 'custom_logging'),
- exampleEntry('⭐️⭐️⭐️☆' , 'core' , 'window_flags'),
- exampleEntry('⭐️⭐️☆☆' , 'core' , 'window_letterbox'),
- exampleEntry('⭐️☆☆☆' , 'core' , 'window_should_close'),
- exampleEntry('⭐️⭐️☆☆' , 'core' , 'drop_files'),
- exampleEntry('⭐️☆☆☆' , 'core' , 'random_values'),
- exampleEntry('⭐️⭐️☆☆' , 'core' , 'storage_values'),
- exampleEntry('⭐️⭐️⭐️☆' , 'core' , 'vr_simulator'),
+ exampleEntry('⭐️⭐️☆☆' , 'core' , 'drop_files'),
+ exampleEntry('⭐️☆☆☆' , 'core' , 'input_gamepad'),
+ exampleEntry('⭐️☆☆☆' , 'core' , 'input_gamepad_info'),
+ exampleEntry('⭐️⭐️☆☆' , 'core' , 'input_gestures'),
+ exampleEntry('⭐️☆☆☆' , 'core' , 'input_keys'),
+ exampleEntry('⭐️☆☆☆' , 'core' , 'input_mouse'),
+ exampleEntry('⭐️☆☆☆' , 'core' , 'input_mouse_wheel'),
+ exampleEntry('⭐️☆☆☆' , 'core' , 'input_multitouch'),
exampleEntry('⭐️⭐️⭐️☆' , 'core' , 'loading_thread'),
- exampleEntry('⭐️☆☆☆' , 'core' , 'scissor_test'),
- exampleEntry('⭐️☆☆☆' , 'core' , 'basic_screen_manager'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'core' , 'custom_frame_control'),
+ exampleEntry('⭐️☆☆☆' , 'core' , 'random_values'),
+ exampleEntry('⭐️☆☆☆' , 'core' , 'scissor_test'),
exampleEntry('⭐️⭐️⭐️☆' , 'core' , 'smooth_pixelperfect'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'core' , 'split_screen'),
- exampleEntry('⭐️☆☆☆' , 'shapes' , 'basic_shapes'),
- exampleEntry('⭐️☆☆☆' , 'shapes' , 'bouncing_ball'),
- exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'colors_palette'),
- exampleEntry('⭐️☆☆☆' , 'shapes' , 'logo_raylib'),
- exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'logo_raylib_anim'),
- exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'rectangle_scaling'),
- exampleEntry('⭐️☆☆☆' , 'shapes' , 'lines_bezier'),
- exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'collision_area'),
- exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'following_eyes'),
- exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'easings_ball_anim'),
- exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'easings_box_anim'),
+ exampleEntry('⭐️⭐️☆☆' , 'core' , 'storage_values'),
+ exampleEntry('⭐️⭐️⭐️☆' , 'core' , 'vr_simulator'),
+ exampleEntry('⭐️⭐️⭐️☆' , 'core' , 'window_flags'),
+ exampleEntry('⭐️⭐️☆☆' , 'core' , 'window_letterbox'),
+ exampleEntry('⭐️☆☆☆' , 'core' , 'window_should_close'),
+ exampleEntry('⭐️⭐️☆☆' , 'core' , 'world_screen'),
+ exampleEntry('⭐️☆☆☆' , 'shapes' , 'basic_shapes'),
+ exampleEntry('⭐️☆☆☆' , 'shapes' , 'bouncing_ball'),
+ exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'colors_palette'),
+ exampleEntry('⭐️☆☆☆' , 'shapes' , 'logo_raylib'),
+ exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'logo_raylib_anim'),
+ exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'rectangle_scaling'),
+ exampleEntry('⭐️☆☆☆' , 'shapes' , 'lines_bezier'),
+ exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'collision_area'),
+ exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'following_eyes'),
+ exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'easings_ball_anim'),
+ exampleEntry('⭐️⭐️☆☆' , 'shapes' , 'easings_box_anim'),
exampleEntry('⭐️⭐️⭐️☆' , 'shapes' , 'easings_rectangle_array'),
exampleEntry('⭐️⭐️⭐️☆' , 'shapes' , 'draw_ring'),
exampleEntry('⭐️⭐️⭐️☆' , 'shapes' , 'draw_circle_sector'),
exampleEntry('⭐️⭐️⭐️☆' , 'shapes' , 'draw_rectangle_rounded'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'shapes' , 'top_down_lights'),
- exampleEntry('⭐️☆☆☆' , 'textures', 'logo_raylib'),
+ exampleEntry('⭐️⭐️⭐️☆' , 'shapes' , 'splines_drawing'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'shapes' , 'top_down_lights'),
+ exampleEntry('⭐️☆☆☆' , 'textures', 'logo_raylib'),
exampleEntry('⭐️⭐️⭐️☆' , 'textures', 'srcrec_dstrec'),
- exampleEntry('⭐️⭐️☆☆' , 'textures', 'image_drawing'),
- exampleEntry('⭐️⭐️☆☆' , 'textures', 'image_generation'),
- exampleEntry('⭐️☆☆☆' , 'textures', 'image_loading'),
+ exampleEntry('⭐️⭐️☆☆' , 'textures', 'image_drawing'),
+ exampleEntry('⭐️⭐️☆☆' , 'textures', 'image_generation'),
+ exampleEntry('⭐️☆☆☆' , 'textures', 'image_loading'),
exampleEntry('⭐️⭐️⭐️☆' , 'textures', 'image_processing'),
- exampleEntry('⭐️⭐️☆☆' , 'textures', 'image_text'),
- exampleEntry('⭐️☆☆☆' , 'textures', 'to_image'),
+ exampleEntry('⭐️⭐️☆☆' , 'textures', 'image_text'),
+ exampleEntry('⭐️☆☆☆' , 'textures', 'to_image'),
exampleEntry('⭐️⭐️⭐️☆' , 'textures', 'raw_data'),
- exampleEntry('⭐️☆☆☆' , 'textures', 'particles_blending'),
+ exampleEntry('⭐️☆☆☆' , 'textures', 'particles_blending'),
exampleEntry('⭐️⭐️⭐️☆' , 'textures', 'npatch_drawing'),
- exampleEntry('⭐️☆☆☆' , 'textures', 'background_scrolling'),
- exampleEntry('⭐️⭐️☆☆' , 'textures', 'sprite_anim'),
- exampleEntry('⭐️⭐️☆☆' , 'textures', 'sprite_button'),
- exampleEntry('⭐️⭐️☆☆' , 'textures', 'sprite_explosion'),
+ exampleEntry('⭐️☆☆☆' , 'textures', 'background_scrolling'),
+ exampleEntry('⭐️⭐️☆☆' , 'textures', 'sprite_anim'),
+ exampleEntry('⭐️⭐️☆☆' , 'textures', 'sprite_button'),
+ exampleEntry('⭐️⭐️☆☆' , 'textures', 'sprite_explosion'),
+ exampleEntry('⭐️⭐️☆☆' , 'textures', 'svg_loading'),
exampleEntry('⭐️⭐️⭐️☆' , 'textures', 'bunnymark'),
exampleEntry('⭐️⭐️⭐️☆' , 'textures', 'mouse_painting'),
- exampleEntry('⭐️☆☆☆' , 'textures', 'blend_modes'),
+ exampleEntry('⭐️☆☆☆' , 'textures', 'blend_modes'),
exampleEntry('⭐️⭐️⭐️☆' , 'textures', 'draw_tiled'),
- exampleEntry('⭐️☆☆☆' , 'textures', 'polygon'),
+ exampleEntry('⭐️☆☆☆' , 'textures', 'polygon'),
exampleEntry('⭐️⭐️⭐️☆' , 'textures', 'fog_of_war'),
exampleEntry('⭐️⭐️⭐️☆' , 'textures', 'gif_player'),
exampleEntry('⭐️⭐️⭐️☆' , 'textures', 'textured_curve'),
- exampleEntry('⭐️☆☆☆' , 'text' , 'raylib_fonts'),
- exampleEntry('⭐️☆☆☆' , 'text' , 'font_spritefont'),
- exampleEntry('⭐️⭐️☆☆' , 'text' , 'font_filters'),
- exampleEntry('⭐️☆☆☆' , 'text' , 'font_loading'),
+ exampleEntry('⭐️☆☆☆' , 'text' , 'raylib_fonts'),
+ exampleEntry('⭐️☆☆☆' , 'text' , 'font_spritefont'),
+ exampleEntry('⭐️⭐️☆☆' , 'text' , 'font_filters'),
+ exampleEntry('⭐️☆☆☆' , 'text' , 'font_loading'),
exampleEntry('⭐️⭐️⭐️☆' , 'text' , 'font_sdf'),
- exampleEntry('⭐️☆☆☆' , 'text' , 'format_text'),
- exampleEntry('⭐️⭐️☆☆' , 'text' , 'input_box'),
- exampleEntry('⭐️⭐️☆☆' , 'text' , 'writing_anim'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'text' , 'rectangle_bounds'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'text' , 'unicode'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'text' , 'draw_3d'),
+ exampleEntry('⭐️☆☆☆' , 'text' , 'format_text'),
+ exampleEntry('⭐️⭐️☆☆' , 'text' , 'input_box'),
+ exampleEntry('⭐️⭐️☆☆' , 'text' , 'writing_anim'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'text' , 'rectangle_bounds'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'text' , 'unicode'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'text' , 'draw_3d'),
exampleEntry('⭐️⭐️⭐️☆' , 'text' , 'codepoints_loading'),
- exampleEntry('⭐️⭐️☆☆' , 'models' , 'animation'),
+ exampleEntry('⭐️⭐️☆☆' , 'models' , 'animation'),
exampleEntry('⭐️⭐️⭐️☆' , 'models' , 'billboard'),
- exampleEntry('⭐️☆☆☆' , 'models' , 'box_collisions'),
- exampleEntry('⭐️⭐️☆☆' , 'models' , 'cubicmap'),
- exampleEntry('⭐️⭐️☆☆' , 'models' , 'first_person_maze'),
- exampleEntry('⭐️☆☆☆' , 'models' , 'geometric_shapes'),
- exampleEntry('⭐️⭐️☆☆' , 'models' , 'mesh_generation'),
+ exampleEntry('⭐️☆☆☆' , 'models' , 'box_collisions'),
+ exampleEntry('⭐️⭐️☆☆' , 'models' , 'cubicmap'),
+ exampleEntry('⭐️⭐️☆☆' , 'models' , 'first_person_maze'),
+ exampleEntry('⭐️☆☆☆' , 'models' , 'geometric_shapes'),
+ exampleEntry('⭐️⭐️☆☆' , 'models' , 'mesh_generation'),
exampleEntry('⭐️⭐️⭐️☆' , 'models' , 'mesh_picking'),
- exampleEntry('⭐️☆☆☆' , 'models' , 'loading'),
- exampleEntry('⭐️☆☆☆' , 'models' , 'loading_gltf'),
- exampleEntry('⭐️☆☆☆' , 'models' , 'loading_vox'),
- exampleEntry('⭐️⭐️☆☆' , 'models' , 'loading_m3d'),
- exampleEntry('⭐️☆☆☆' , 'models' , 'orthographic_projection'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'models' , 'rlgl_solar_system'),
- exampleEntry('⭐️⭐️☆☆' , 'models' , 'yaw_pitch_roll'),
+ exampleEntry('⭐️☆☆☆' , 'models' , 'loading'),
+ exampleEntry('⭐️☆☆☆' , 'models' , 'loading_gltf'),
+ exampleEntry('⭐️☆☆☆' , 'models' , 'loading_vox'),
+ exampleEntry('⭐️⭐️☆☆' , 'models' , 'loading_m3d'),
+ exampleEntry('⭐️☆☆☆' , 'models' , 'orthographic_projection'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'models' , 'rlgl_solar_system'),
+ exampleEntry('⭐️⭐️☆☆' , 'models' , 'yaw_pitch_roll'),
exampleEntry('⭐️⭐️⭐️☆' , 'models' , 'waving_cubes'),
- exampleEntry('⭐️☆☆☆' , 'models' , 'heightmap'),
- exampleEntry('⭐️⭐️☆☆' , 'models' , 'skybox'),
- exampleEntry('⭐️⭐️☆☆' , 'models' , 'draw_cube_texture'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'shaders' , 'basic_lighting'),
- exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'model_shader'),
- exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'shapes_textures'),
- exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'custom_uniform'),
+ exampleEntry('⭐️☆☆☆' , 'models' , 'heightmap'),
+ exampleEntry('⭐️⭐️☆☆' , 'models' , 'skybox'),
+ exampleEntry('⭐️⭐️☆☆' , 'models' , 'draw_cube_texture'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'shaders' , 'basic_lighting'),
+ exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'model_shader'),
+ exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'shapes_textures'),
+ exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'custom_uniform'),
exampleEntry('⭐️⭐️⭐️☆' , 'shaders' , 'postprocessing'),
exampleEntry('⭐️⭐️⭐️☆' , 'shaders' , 'palette_switch'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'shaders' , 'raymarching'),
- exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'texture_drawing'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'shaders' , 'raymarching'),
+ exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'texture_drawing'),
exampleEntry('⭐️⭐️⭐️☆' , 'shaders' , 'texture_outline'),
- exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'texture_waves'),
+ exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'texture_tiling'),
+ exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'texture_waves'),
exampleEntry('⭐️⭐️⭐️☆' , 'shaders' , 'julia_set'),
exampleEntry('⭐️⭐️⭐️☆' , 'shaders' , 'eratosthenes'),
exampleEntry('⭐️⭐️⭐️☆' , 'shaders' , 'fog'),
- exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'simple_mask'),
+ exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'simple_mask'),
exampleEntry('⭐️⭐️⭐️☆' , 'shaders' , 'hot_reloading'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'shaders' , 'mesh_instancing'),
- exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'multi_sample2d'),
- exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'spotlight'),
- exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'write_depth'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'shaders' , 'hybrid_render'),
- exampleEntry('⭐️☆☆☆' , 'audio' , 'module_playing'),
- exampleEntry('⭐️☆☆☆' , 'audio' , 'music_stream'),
+ exampleEntry('⭐️⭐️⭐️☆' , 'shaders' , 'lightmap'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'shaders' , 'mesh_instancing'),
+ exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'multi_sample2d'),
+ exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'spotlight'),
+ exampleEntry('⭐️⭐️☆☆' , 'shaders' , 'write_depth'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'shaders' , 'hybrid_render'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'shaders' , 'deferred_render'),
+ exampleEntry('⭐️☆☆☆' , 'audio' , 'module_playing'),
+ exampleEntry('⭐️☆☆☆' , 'audio' , 'music_stream'),
exampleEntry('⭐️⭐️⭐️☆' , 'audio' , 'raw_stream'),
- exampleEntry('⭐️☆☆☆' , 'audio' , 'sound_loading'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'audio' , 'stream_effects'),
- exampleEntry('⭐️⭐️⭐️⭐️', 'audio' , 'mixed_processor')];
+ exampleEntry('⭐️☆☆☆' , 'audio' , 'sound_loading'),
+ exampleEntry('⭐️⭐️☆☆' , 'audio' , 'sound_multi'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'audio' , 'stream_effects'),
+ exampleEntry('⭐️⭐️⭐️⭐️' , 'audio' , 'mixed_processor')];
var exampleDivs = []
for (var i = 0; i < exampleData.length; i++) {