(It's pronounced Vinyl)
VNyl is a C++ Visual Novel making framework!
Clone this repository. Then clone the raylib repository into libs/raylib
# Start in project root
$ cd libs
$ git clone https://github.com/raysan5/raylib.git
I recommend changing the CMakeLists.txt
file so that it can use your project name for the executable:
# Change
project(VNyl C CXX)
# To
project(<Your_Project_Name> C CXX)
Now build the project from the root directory:
# Project root
$ cmake --build ./build --config Debug --target all -j 22 --
If there are build errors, this is likely due to missing dependencies. Look for any missing packages such as libxinerama-dev
, libxcursor-dev
, libxi-dev
, etc. You will need to install them using your systems package manager. For example:
$ sudo apt install libxi-dev
When using VSCode install the C/C++ Extension Pack
. CMake will try to configure itself into the project, and may need to be reloaded a few times.
Draw/hide characters. Add to list. Have predefined locations. Fade in/ outSet background image. Preload all of them. Add textures to dictionaries and select one. Fade in/outSet background music. Preload all of them. Add audio to dictionaries and select one to play on loopPlay sound effects. Preload all of them. Halt execution until finished?Code block. Pass in a generic lambda to executeWhile loop. Repeat Action List until condition is falseShow text. Reveal text character by character. Display character name. Click to skip, click to continueShow menu options. Show a list of centered boxes in a vertical list layout. Pass in int pointer variable, return index of chosen optionClear screen. Remove all text, characters, and background. Draw a black rectangle overlay that fades everything, then hide.Change render to scale with letterboxing. See this for details