FAQ (Frequently Asked Questions)
-
What is this project about? This extension is a Visual Studio Code extension that provides support for the Raylib game development library. It includes features such as building commands for Raylib projects.
-
What is Raylib? Raylib is a simple and easy-to-use library to enjoy videogame programming. It is highly portable and works on multiple platforms, including Windows, macOS, Linux, and more. For more information about Raylib, please visit the Raylib Official Website.
-
What is the Raylib Project Creator (RPC)? The Raylib Project Creator (RPC) is a tool that helps you create new Raylib projects quickly. It generates the necessary files and folder structure for your new project, allowing you to start developing your game without having to set up the project manually. You can download it from the Raylib Project Creator From Itch io.
-
How do I install the Raylib VScode Extension? You can install the extension directly from the Visual Studio Code marketplace. Open Visual Studio Code, go to the Extensions view by clicking on the Extensions icon in the Activity Bar or by pressing
Ctrl+Shift+X, search for "Raylib", and click on the "Install" button for the "Raylib VScode Extension". You can follow the Getting Started guide in the documentation for detailed installation instructions. -
How do I configure the extension? You can configure the extension by accessing the settings in Visual Studio Code. Open the settings by clicking on the gear icon in the lower-left corner and selecting "Settings" or by pressing
Ctrl+,. In the search bar, type "Raylib" to filter the settings related to the extension. You can configure the paths for the Raylib Project Creator (RPC) and MinGW compiler, as well as set extra build parameters and compiler threads. For more information on configuration, please refer to the Configuration section in the documentation. -
How do I create a new Raylib project? You can create a new Raylib project using the "Raylib: Create New Project" command in the Visual Studio Code Command Palette. This command will execute the Raylib Project Creator (RPC) and prompt you for the project name and location. It will then generate the necessary files and folder structure for your new project.
-
Can I use other MINGW compilers with this extension? Yes, you can use other MinGW compilers with this extension. You need to configure the path to the MinGW compiler executable in the extension settings. Make sure to point to the
binfolder of your MinGW installation. -
Can i use cmake or other build systems with this extension? No, this extension is designed to work with the Raylib Project Creator (RPC) and use Make as build System. Currently, it does not support CMake or other build systems. The extension provides commands to build, clean, and run Raylib projects using the configured C/C++ compiler.