2017-12-18 14:06:58 +03:00
## Contributing to raylib
Hello contributors! Welcome to raylib!
2019-05-24 13:22:20 +03:00
Do you enjoy raylib and want to contribute? Nice! You can help with the following points:
- C programming - Can you write/review/test/improve the code?
- Documentation/Tutorials/Example - Can you write some tutorial/example?
- Web Development - Can you help [with the web ](https://github.com/raysan5/raylib.com )?
- Porting to other platforms - Can you port and compile raylib on another systems?
- Testing - Can you find some bugs on raylib?
2017-12-18 14:06:58 +03:00
This document contains a set of guidelines to contribute to the project. These are mostly guidelines, not rules.
Use your best judgement, and feel free to propose changes to this document in a pull-request.
### raylib philosophy
2018-09-18 22:34:02 +03:00
- raylib is a tool to enjoy videogames programming, every single function in raylib should be a tutorial on itself.
2017-12-19 11:19:43 +03:00
- raylib is SIMPLE and EASY-TO-USE, I tried to keep it compact with a small set of functions, if a function is too complex or is not clearly useful, better not to include it.
2017-12-18 14:06:58 +03:00
- raylib is open source and free; educators and institutions can use this tool to TEACH videogames programming completely by free.
- raylib is collaborative; contribution of tutorials / code-examples / bugs-solving / code-comments are highly appreciated.
- raylib's license (and its external libs respective licenses) allow using it for commercial products.
### Some interesting reads to start with
- [raylib history ](HISTORY.md )
- [raylib architecture ](https://github.com/raysan5/raylib/wiki/raylib-architecture )
- [raylib license ](LICENSE.md )
- [raylib roadmap ](ROADMAP.md )
[raylib Wiki ](https://github.com/raysan5/raylib/wiki ) contains some information about the library and is open to anyone for edit.
2018-07-16 03:07:48 +03:00
Feel free to review it if required, just take care not to break something.
2017-12-18 14:06:58 +03:00
2017-12-19 11:19:43 +03:00
### raylib C coding conventions
Despite being written in C, raylib does not follow the standard Hungarian notation for C,
it [follows Pascal-case/camel-case notation ](https://github.com/raysan5/raylib/wiki/raylib-coding-conventions ),
more common on C# language. All code formatting decisions have been carefully taken
to make it easier for students to read, write and understand code.
Source code is extensively commented for that purpose, raylib primary learning method is:
> learn by reading code and examples
2017-12-18 14:06:58 +03:00
For detailed information on building raylib and examples, please check [raylib Wiki ](https://github.com/raysan5/raylib/wiki ).
### Opening new Issues
2017-12-19 11:27:12 +03:00
To open new issue for raylib (bug, enhancement, discussion...), just try to follow these rules:
2017-12-18 14:06:58 +03:00
- Make sure the issue has not already been reported before by searching on GitHub under Issues.
- If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a
title and clear description, as much relevant information as possible, and a code sample demonstrating the unexpected behavior.
- If applies, attach some screenshot of the issue and a .zip file with the code sample and required resources.
- On issue description, add a brackets tag about the raylib module that relates to this issue.
If don't know the module, just report the issue, I will review it.
- You can check other issues to see how is being done!
### Sending a Pull-Request
2017-12-19 11:19:43 +03:00
- Make sure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
2017-12-18 14:06:58 +03:00
- Don't send big pull-requests (lots of changelists), they are difficult to review. It's better to send small pull-request, one at a time.
- Verify that changes don't break the build (at least on Windows platform). As many platforms where you can test it, the better, but don't worry
2017-12-19 11:19:43 +03:00
if you cannot test all the platforms.
2017-12-18 14:06:58 +03:00
2017-12-19 11:19:43 +03:00
### Contact information
2017-12-18 14:06:58 +03:00
2017-12-19 11:19:43 +03:00
If you have any doubt, don't hesitate to [contact me ](mailto:ray@raylib.com )!.
2017-12-18 14:06:58 +03:00
You can write me a direct mail but you can also contact me on the following networks:
2018-10-11 14:38:03 +03:00
- [raylib reddit ](https://www.reddit.com/r/raylib/ ) - A good place for discussions or to ask for help.
2018-07-16 03:07:48 +03:00
- [raylib Discord ](https://discord.gg/VkzNHUE ) - A direct communication channel for project discussions.
2017-12-18 14:06:58 +03:00
- [raylib twitter ](https://twitter.com/raysan5 ) - My personal twitter account, I usually post about raylib, you can send me PMs.
- [raylib web ](http://www.raylib.com/ ) - On top-right corner there is a bunch of networks where you can find me.
Thank you very much for your time! :)
----
2017-12-19 11:19:43 +03:00
Here is a list of raylib contributors, these people have invested part of their time
contributing (in some way or another) to make the raylib project better. Huge thanks to all of them!
2017-12-18 14:06:58 +03:00
- [Zopokx ](https://github.com/Zopokx ) for testing the web.
- [Elendow ](http://www.elendow.com ) for testing and helping on web development.
- Victor Dual for implementing and testing 3D shapes functions.
- Marc Palau for implementing and testing 3D shapes functions and contribute on camera and gestures modules.
- Kevin Gato for improving texture internal formats support and helping on raygui development.
- Daniel Nicolas for improving texture internal formats support and helping on raygui development.
- Marc Agüera for testing and using raylib on a real product ([Koala Seasons](http://www.koalaseasons.com))
- Daniel Moreno for testing and using raylib on a real product ([Koala Seasons](http://www.koalaseasons.com))
- Daniel Gomez for testing and using raylib on a real product ([Koala Seasons](http://www.koalaseasons.com))
- [Sergio Martinez ](https://github.com/anidealgift ) for helping on raygui development and tools development (raygui_styler).
- [Victor Fisac ](https://github.com/victorfisac ) for developing physics raylib module (physac) and implementing PBR materials and lighting systems... among multiple other improvements and multiple tools and games.
- Albert Martos for helping on raygui and porting examples and game-templates to Android and HTML5.
- Ian Eito for helping on raygui and porting examples and game-templates to Android and HTML5.
- [procedural ](https://github.com/procedural ) for testing raylib on Linux, correcting some bugs and adding several mouse functions.
- [Chris Hemingway ](https://github.com/cHemingway ) for improving raylib on OSX build system.
- [Emanuele Petriglia ](https://github.com/LelixSuper ) for working on multiple GNU/Linux improvements and developing [TicTacToe ](https://github.com/LelixSuper/TicTacToe ) raylib game.
- [Joshua Reisenauer ](https://github.com/kd7tck ) for adding audio modules support (XM, MOD) and reviewing audio system.
2019-05-27 21:50:27 +03:00
- [Marcelo Paez ](https://github.com/paezao ) for helping on OSX High DPI display issue.
- [Ghassan Al-Mashareqa ](https://github.com/ghassanpl ) for an amazing contribution to raylib Lua module.
- [Teodor Stoenescu ](https://github.com/teodor-stoenescu ) for improvements on OBJ object loading.
- [RDR8 ](https://github.com/RDR8 ) for helping with Linux build improvements.
- [Saggi Mizrahi ](https://github.com/ficoos ) for multiple fixes on Linux and audio system.
- [Daniel Lemos ](https://github.com/xspager ) for fixing issues on Linux games building.
2017-12-18 14:06:58 +03:00
- [Joel Davis ](https://github.com/joeld42 ) for adding raycast picking utilities and a [great example ](https://github.com/raysan5/raylib/blob/master/examples/models/models_mesh_picking.c )
2019-05-27 21:50:27 +03:00
- [Richard Goodwin ](https://github.com/AudioMorphology ) for adding RPI touchscreen support.
- [Milan Nikolic ](https://github.com/gen2brain ) for adding Android build support with custom standalone toolchain.
2018-07-16 03:07:48 +03:00
- [Michael Vetter ](https://github.com/jubalh ) for improvements on build system and his work on Suse Linux package... and multiple fixes!
2019-05-27 21:50:27 +03:00
- [Wilhem Barbier ](https://github.com/nounoursheureux ) for adding Image generation functions and some fixes.
- [Benjamin Summerton ](https://github.com/define-private-public ) for improving OSX building and his amazing work on CMake build sytem.
- [MartinFX ](https://github.com/Martinfx ) for adding compilation support for FreeBSD OS and derivatives.
- [Wilhem Barbier ](https://github.com/nounoursheureux ) for supporting default shaders on shader loading, if shader not provided.
- [Ahmad Fatoum ](https://github.com/a3f ) for implementing CI support for raylib (Travis and AppVeyor) and great improvements on build system.
- [SamNChiet ](https://github.com/SamNChiet ) for a greatly improved UWP input implementation.
- [David Reid ](https://github.com/mackron ) for a complete review of audio module to support his amazing miniaudio library.
2017-12-18 14:06:58 +03:00
- [Kai ](https://github.com/questor ) for multiple code reviews and improvements.
2019-05-27 21:50:27 +03:00
- [RDR8 ](https://github.com/RDR8 ) for improvements on Makefiles for Linux.
2018-07-16 03:07:48 +03:00
- [Max Danielsson ](https://github.com/autious ) for adding support for orthographic 3d camera projection
2019-05-27 21:50:27 +03:00
- [Lumaio ](https://github.com/TheLumaio ) for his great work on GBuffers and GetCollisionRayModel().
- [Jonas Daeyaert ](https://github.com/culacant ) for an amazing work on IQM animated models support.
- [Seth Archambault ](https://github.com/SethArchambault ) for the work on Android Gamepad support (SNES model).
2018-07-16 03:07:48 +03:00
- [D3nX ](https://github.com/D3nX ) for adding Code::Blocks project template.
2019-05-27 21:50:27 +03:00
- [Jak Barnes ](https://github.com/Syphonx ) for a great work on `rnet` , new raylib network module
- [Vlad Adrian ](https://github.com/Demizdor ) for an amazing work on Unicode support, new shapes functions and raygui.
- [Reece Mackie ](https://github.com/Rover656 ) for a great work on improving UWP support
- [flashback-fx ](flashback-fx ) for improving easings library and example
- [Jorge A. Gomes ](https://github.com/overdev ) for adding nine-patch textures support
- [Berni8k ](https://github.com/Berni8k ) for improving Raspberry Pi input system, using evdev
- [Wilhem Barbier ](https://github.com/wbrbr ) for implementing glTF loading support and solving several issues
- [Marco Lizza ](https://github.com/MarcoLizza ) for improving logging system and multiple issues
- [Anata ](https://github.com/anatagawa ) for creating amazing examples and contributing with them
2019-05-28 12:25:06 +03:00
- [Narice ](https://github.com/narice ) made easings.h includable as standalone header
2017-12-18 14:06:58 +03:00
2018-07-16 03:07:48 +03:00
Please, if I forget someone in this list, excuse me and send a PR!