Graphics ~ raylib - uchicago-cs/chiventure GitHub Wiki
raylib
raylib is a library designed for video game programming. It is written in plain C code and does not rely on any visual interface. raylib does not have any external dependencies: anything that is needed by the library is included.
Research
raylib has support for many features, including:
- key, mouse, and gesture inputs
- sounds
- text input, "loading..." threads, (custom) fonts
- two- and three-dimensional camera environments (i.e. platformer and open-world games, first-person shooter games, etc.)
- saving and loading values
- generating textures from images
- animations and 3D designs
- objects and physics
raylib can be used for more advanced graphics with options for custom made models, audio effects, custom backgrounds, and more.
raylib Installation
Install raylib here.
Using raylib
Once installed, raylib can be implemented directly in C by using an #include "raylib.h"
statement.
Additional Links
To do
- Think about how to integrate this into chiventure (look into what the current graphics are, does this need to be built from the ground up or can it be added to the text based graphics?)
- Discuss features such as text input, loading bars, fonts/text which could display information to the user
- Consider viability of using raylib for a two-dimensional mini-map to display player's surroundings
- Consider viability of using raylib for displaying rooms and RPG-based encounters (Battles, NPCs, etc.)