Hi, I have made a game in SDL2.0 and I am using bmp files for the images. The project runs fine when i am building from visual studio but the executable doesn’t show any images when i run it from outside.
I figured it out that it is happening because of the path of the images. I was giving relative path for the images and when i passed the absolute path, things just worked fine but this is not the right solution because I might i have to pass on the project and I would need to send relative path so it doesn’t need to be changed. How am i supposed to achieve this?