a basic raylib project that handles "rolling credits" from a configuration file.
dunno, raylib c++ and cmake stuff?
execute cmake -S . -B build in project root directory then cmake --build build
./build/just-roll-credits/just-roll-credits /path/to/credits/file
- get music into the credits
- make credits last as long as the music?
requires a well formed credits file as an argument. an example credits file is in the example/ directory. the structure of the file is having a type at the start of each line followed by comma seperated values depending on the type.
| type | structure | description |
|---|---|---|
| FADE_IN | ,, | credit text fades in, hangs for seconds, then fades out |
| WHITE_SPACE | number of pixels to have before next credit | |
| PAUSE | a number of frames to halt for | |
| CREDIT | , | a standard credit, scrolls at a constant rate |
| GRID | ,,,... | creates a grid of list of credits |