8000 GitHub - carlsmith/raylib: A simple and easy-to-use library to enjoy videogames programming
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from raysan5/raylib

A simple and easy-to-use library to enjoy videogames programming

License

Notifications You must be signed in to change notification settings

carlsmith/raylib

 
 

Repository files navigation

raylib is a simple and accessible library that makes videogames programming enjoyable.

raylib is heavily inspired by the Borland Graphics Interface and the XNA Framework.

raylib is especially well suited for prototyping, tooling, graphical applications, embedded systems and education.

NOTE for ADVENTURERS: raylib is a programming library for enjoying videogames programming. There will never be a fancy interface, visual helpers, auto-debugging, or anything else that detracts from the art and practice of programming videogames. raylib augments your C or C++ runtime with a comprehensive API that makes it easy to build videogames from scratch.

Ready to learn? Jump to the code examples!

Build Status https://ci.appveyor.com/api/projects/status/github/raysan5/raylib?svg=true Chat on Discord License Twitter URL

Features

  • No external dependencies. All required libraries are bundled into raylib.
  • Crossplatform. Supports Windows, Linux, MacOS, Android... and many more!
  • Written in plain C code. Uses C99, with PascalCase/camelCase notation.
  • Hardware accelerated with OpenGL (1.1, 2.1, 3.3 or ES 2.0).
  • Unique OpenGL abstraction layer (usable as a standalone module): rlgl.
  • Multiple font format support (XNA fonts, AngelCode fonts and TTF).
  • Outstanding texture formats support, including compressed formats (DXT, ETC and ASTC).
  • Full 3D support, including 3D Shapes, Models, Billboards, Heightmaps and more!
  • Flexible materials system, supporting classic maps and PBR maps.
  • Custom shaders, including model and postprocessing shaders.
  • Powerful math module for vector, matrix and quaternion operations: raymath.
  • Support for loading, playing and streaming audio (WAV, OGG, MP3, FLAC, XM and MOD).
  • VR stereo rendering support with configurable HMD device parameters.
  • Language bindings for Lua (raylib-lua), Go (raylib-go) and more!

raylib has its own core module (derived from the outstanding GLFW3 library), bundled with raylib as the rglfw module (avoiding external dependencies).

raylib also has its own audio module, based on the amazing mini_al audio library, provided as a single file (header-only), and supporting multiple platforms and various audio backends.

raylib relies internally on multiple single-file, header-only libraries that support loading and saving multiple file formats. All of those libraries are bundled with raylib, and are available in the src/external directory.

On Android, the native_app_glue module (provided by the Android NDK) and native Android libraries are used to manage the window and context, inputs and the activity life cycle.

On Raspberry Pi, the Videocore API and EGL libraries are used for window and context management, and for reading raw inputs.

Building and Installation

Binary releases for Windows, Linux and macOS are available at the Github Releases page. raylib is also available via multiple package managers, across multiple OS distributions. For more info, check the raylib Wiki.

If you wish to build raylib yourself, the raylib Wiki also contains detailed instructions on how to approach that.

raylib has been developed exclusively using two tools:

Those tools are recommended for raylib development, and are the tools that my students use.

Contact

If you use raylib and enjoy it, please let me know.

If you are able to contribute, then please helpme!

License

raylib is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. See the LICENSE file for further details.

About

A simple and easy-to-use library to enjoy videogames programming

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 85.8%
  • Makefile 7.0%
  • C++ 2.8%
  • Objective-C 1.6%
  • CMake 1.2%
  • Shell 0.5%
  • Other 1.1%
0