Raylib examples converted to C3.
You can check out the examples with:
- Install the C3 compiler
- Open a command prompt in the directory of the cloned repository
c3c vendor-fetch raylib55c3c vendor-fetch raygui
Examples are grouped the same way as the c examples. To compile and run example 2d_camera
c3c run 2d_camera
-
Core
- 2d_camera
- 2d_camera_mouse_zoom
- 2d_camera_platformer
- 2d_camera_split_screen
- 3d_camera_first_person
-
Models
- animation
- billboard
- bone_socket
- box_collision
- cubicmap
- draw_cube_texture
- first_person_maze
- geometric_shapes
- gpu_skinning
- heightmap
- loading
- loading_gltf
- loading_m3d
- loading_vox
- mesh_generation
- mesh_picking
- orthographic_projection
- point_rendering
- rlgl_solar_system
- skybox
- skybox2
- tesseract_view
- waving_cubes
- yaw_pitch_roll
-
Shaders
- basic_lighting
- custom_uniform
- julia_set
- mesh_instancing
- multi_sample2d
- pallete_switch
- postprocessing
- spotlight
- texture_outline
- texture_waves
-
Shapes
- basic_shapes
- bouncing_ball
- draw_circle_sector
-
Textures
- background_scrolling
- blend_modes
- bunnymark
- draw_tiled
- fog_of_war
- gif_player
- image_channel
- image_drawing
- image_generation
- image_kernel
- image_loading
- image_processing
- image_rotate
- image_text
- mouse_painting
- npatch_drawing
- particles_blending
- polygon
- raw_data
- sprite_anim
- sprite_button
- sprite_explosion
- srcrec_dstrec
- textured_curve
On the occasion the c3c vender-fetch fails, you can manually download vendor repository. The files in this repository have been checked to work with the vendor files in the forked repository.
- Manually download the modules from Forked Vendor Repository
- copy or create symbolic link
vendor/libraries/raylib55.cl, vendor/libraries/raygui.clfolder to the contents oflibfolder
├── LICENSE
├── README.md
├── build
├── docs
├── lib
│ ├── raygui.c3l -> ../../vendor/libraries/raygui.c3l
│ └── raylib55.c3l -> ../../vendor/libraries/raylib55.c3l
├── project.json
├── resources
├── scripts
├── src
│ ├── common
│ │ ├── fabrik.c3
│ │ └── spring.c3
│ ├── fabrik
│ │ └── main.c3
│ └── springs
│ └── main.c3