Raylib: a simple and easy-to-use library to enjoy game programming

  • I use it for playing around with some game ideas, really liked the ease of it. Clean, compact API.

    Only nuisance is that SUPPORT_BUSY_WAIT_LOOP is defined in the defaults, so I can't use the package from my distribution but have to compile it myself – as I don't want 100% CPU usage when prototyping (where I can happily live with inaccuracies of the timers). I considered opening an issue and forgot about it. But you, Ray, seem to be reading this thread anyway. :-) Thanks, by the way!

  • Loving the minimal aesthetic. Will give it a try this weekend ;)

    Full API:

    https://www.raylib.com/cheatsheet/cheatsheet.html

  • Prefer the use of types over preprocessor defines - ex: static const vs #define PI, RAD2DEG, etc. (https://github.com/raysan5/raylib/blob/master/src/raymath.h). Also, take a look at using the GLSL data types for vectors and matrices - https://www.khronos.org/opengl/wiki/Data_Type_(GLSL) along with explicit use of SSE when appropriate and supported.

  • Could you use this for bigger projects? Or would I run into (performance?) problems and have to port the project to another engine?

  • >Bindings to Lua (raylib-lua), Go (raylib-go) and more!

    Is there a list of other bindings somewhere? I didn't see one in my admittedly cursory look.

  • Looks awesome, but unfortunately a few of the examples don't work for me. Is Firefox not supported?

  • Very cool - the syntax reminds me of Blitz3D, the language of choice for 15 year old me :)

    Does this work with Swift and iOS - namely, is embedding this library as a dependency likely to pass Apple's App Store review process?

  • Looks fun! I have been moving towards using Go for everything so this might be a good excuse for me to figure out how to use C libraries.

  • Sorry, but this site is illegible on mobile.

  • What would be the similar cross-platform (including mobile) lib in C++?

  • Does anyone know how the C code is ported to the web in the examples?

  • Please check out codefund.app. We help sustain open source projects through ethical advertising. We have recently been helping more game-related projects such as yours. Disclaimer: I am the founder of CodeFund.