04-22-2024, 11:25 AM
Welcome to the QB64-PE forum.
Nicely done!
I must admit though, that I am not really a fan of absolute paths. Also, doing so, makes your program less portable (i.e. it will not work on Linux and macOS).
So, I did two things:
For example:
Original:
Modified (using a relative path):
Nicely done!
I must admit though, that I am not really a fan of absolute paths. Also, doing so, makes your program less portable (i.e. it will not work on Linux and macOS).
So, I did two things:
- Enable Run > Output EXE to Source Folder in the IDE
- Change all absolute paths in the source to relative path
For example:
Original:
Code: (Select All)
fkn& = _LoadFont("C:\aquascape\aqua_mat\fonts\Ac437_Kaypro2K_G.ttf", 34)
Modified (using a relative path):
Code: (Select All)
fkn& = _LoadFont("aqua_mat\fonts\Ac437_Kaypro2K_G.ttf", 34)