Notepad++ is the "default" editor for raylib, in that a specialized version of it is included with your raylib Windows install. It's great for getting up and running with simple examples, but if you want to include multiple source files you'll need to make some small tweaks. In this video, explore two simple methods for creating more intermediate project structures with Notepad++ for raylib!
If you want to try more advanced editors:
• game-premake - raylib's BEST Project Template
Video Notes:
NppExec Custom Script
use raylib_compile_execute as a base
copy into "temporary_script"
modify the last $(CC) line to directly list each of the required .c files
use SET PROJECT_NAME at the top to set an executable name, replace NAME_PART references in last CC line and at the execute program step
note that using this project name distinction, we can compile the program from focusing any tab
"raylib_custom_makefile" script
ENV_SET PROJECT_NAME=my_project
ENV_SET RAYLIB_PATH=C:\raylib\raylib
ENV_SET CC=gcc
ENV_SET PATH=C:\raylib\w64devkit\bin
cd $(CURRENT_DIRECTORY)
make
cmd /c IF EXIST %PROJECT_NAME%.exe %PROJECT_NAME%.exe
On this page of the site you can watch the video online Using Notepad++ for raylib with Multiple Source Files with a duration of hours minute second in good quality, which was uploaded by the user Andrew Hamel Codes 18 December 2024, share the link with friends and acquaintances, this video has already been watched 2,429 times on youtube and it was liked by 63 viewers. Enjoy your viewing!