Skip to content

HELP WANTED: writing examples #155

Open
@electronstudio

Description

@electronstudio

We need help writing examples:

  • Completing any incomplete examples
  • Updating any out-of-date examples so they work with latest version
  • Adding missing examples

Style guide:

  • Use pyray functions rather than raylib for each example, but optionally can have a second _rl.py version using raylib.
  • Write version checked in comment at top of file.
  • Check validates with python -m mypy example.py and report validation bugs.
  • Use black formatting python -m black example.py.

Check when example is done and checked:

  • audio/audio_mixed_processor.c
  • audio/audio_module_playing.c
  • audio/audio_music_stream.c
  • audio/audio_raw_stream.c
  • audio/audio_sound_loading.c
  • audio/audio_sound_multi.c
  • audio/audio_stream_effects.c
  • core/core_2d_camera.c
  • core/core_2d_camera_mouse_zoom.c
  • core/core_2d_camera_platformer.c
  • core/core_2d_camera_split_screen.c
  • core/core_3d_camera_first_person.c
  • core/core_3d_camera_free.c
  • core/core_3d_camera_mode.c
  • core/core_3d_camera_split_screen.c
  • core/core_3d_picking.c
  • core/core_automation_events.c
  • core/core_basic_screen_manager.c
  • core/core_basic_window.c
  • core/core_basic_window_web.c
  • core/core_custom_frame_control.c
  • core/core_custom_logging.c
  • core/core_drop_files.c
  • core/core_input_gamepad.c
  • core/core_input_gamepad_info.c
  • core/core_input_gestures.c
  • core/core_input_gestures_web.c
  • core/core_input_keys.c
  • core/core_input_mouse.c
  • core/core_input_mouse_wheel.c
  • core/core_input_multitouch.c
  • core/core_input_virtual_controls.c
  • core/core_loading_thread.c
  • core/core_random_sequence.c
  • core/core_random_values.c
  • core/core_scissor_test.c
  • core/core_smooth_pixelperfect.c
  • core/core_storage_values.c
  • core/core_vr_simulator.c
  • core/core_window_flags.c
  • core/core_window_letterbox.c
  • core/core_window_should_close.c
  • core/core_world_screen.c
  • models/models_animation.c
  • models/models_billboard.c
  • models/models_bone_socket.c
  • models/models_box_collisions.c
  • models/models_cubicmap.c
  • models/models_draw_cube_texture.c
  • models/models_first_person_maze.c
  • models/models_geometric_shapes.c
  • models/models_gpu_skinning.c
  • models/models_heightmap.c
  • models/models_loading.c
  • models/models_loading_gltf.c
  • models/models_loading_m3d.c
  • models/models_loading_vox.c
  • models/models_mesh_generation.c
  • models/models_mesh_picking.c
  • models/models_orthographic_projection.c
  • models/models_point_rendering.c
  • models/models_rlgl_solar_system.c
  • models/models_skybox.c
  • models/models_waving_cubes.c
  • models/models_yaw_pitch_roll.c
  • others/easings_testbed.c
  • others/embedded_files_loading.c
  • others/raylib_opengl_interop.c
  • others/raymath_vector_angle.c
  • others/rlgl_compute_shader.c
  • others/rlgl_standalone.c
  • shaders/shaders_basic_lighting.c
  • shaders/shaders_basic_pbr.c
  • shaders/shaders_custom_uniform.c
  • shaders/shaders_deferred_render.c
  • shaders/shaders_eratosthenes.c
  • shaders/shaders_fog.c
  • shaders/shaders_hot_reloading.c
  • shaders/shaders_hybrid_render.c
  • shaders/shaders_julia_set.c
  • shaders/shaders_lightmap.c
  • shaders/shaders_mesh_instancing.c
  • shaders/shaders_model_shader.c
  • shaders/shaders_multi_sample2d.c
  • shaders/shaders_palette_switch.c
  • shaders/shaders_postprocessing.c
  • shaders/shaders_raymarching.c
  • shaders/shaders_shadowmap.c
  • shaders/shaders_shapes_textures.c
  • shaders/shaders_simple_mask.c
  • shaders/shaders_spotlight.c
  • shaders/shaders_texture_drawing.c
  • shaders/shaders_texture_outline.c
  • shaders/shaders_texture_tiling.c
  • shaders/shaders_texture_waves.c
  • shaders/shaders_vertex_displacement.c
  • shaders/shaders_write_depth.c
  • shapes/shapes_basic_shapes.c
  • shapes/shapes_bouncing_ball.c
  • shapes/shapes_collision_area.c
  • shapes/shapes_colors_palette.c
  • shapes/shapes_draw_circle_sector.c
  • shapes/shapes_draw_rectangle_rounded.c
  • shapes/shapes_draw_ring.c
  • shapes/shapes_easings_ball_anim.c
  • shapes/shapes_easings_box_anim.c
  • shapes/shapes_easings_rectangle_array.c
  • shapes/shapes_following_eyes.c
  • shapes/shapes_lines_bezier.c
  • shapes/shapes_logo_raylib_anim.c
  • shapes/shapes_logo_raylib.c
  • shapes/shapes_rectangle_advanced.c
  • shapes/shapes_rectangle_scaling.c
  • shapes/shapes_splines_drawing.c
  • shapes/shapes_top_down_lights.c
  • text/text_codepoints_loading.c
  • text/text_draw_3d.c
  • text/text_font_filters.c
  • text/text_font_loading.c
  • text/text_font_sdf.c
  • text/text_font_spritefont.c
  • text/text_format_text.c
  • text/text_input_box.c
  • text/text_raylib_fonts.c
  • text/text_rectangle_bounds.c
  • text/text_unicode.c
  • text/text_writing_anim.c
  • textures/textures_background_scrolling.c
  • textures/textures_blend_modes.c
  • textures/textures_bunnymark.c
  • textures/textures_draw_tiled.c
  • textures/textures_fog_of_war.c
  • textures/textures_gif_player.c
  • textures/textures_image_channel.c
  • textures/textures_image_drawing.c
  • textures/textures_image_generation.c
  • textures/textures_image_kernel.c
  • textures/textures_image_loading.c
  • textures/textures_image_processing.c
  • textures/textures_image_rotate.c
  • textures/textures_image_text.c
  • textures/textures_logo_raylib.c
  • textures/textures_mouse_painting.c
  • textures/textures_npatch_drawing.c
  • textures/textures_particles_blending.c
  • textures/textures_polygon.c
  • textures/textures_raw_data.c
  • textures/textures_sprite_anim.c
  • textures/textures_sprite_button.c
  • textures/textures_sprite_explosion.c
  • textures/textures_srcrec_dstrec.c
  • textures/textures_textured_curve.c
  • textures/textures_to_image.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions