Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cptkidd62

Pages: [1]
1
General / Re: Previous folder in relative path
« on: August 29, 2022, 02:14:19 pm »
It actually makes sense, I didn't realize that. Now it works, thank you

2
General / Previous folder in relative path
« on: August 28, 2022, 10:49:41 pm »
Hi, I'm developing a project using SFML and I have such a folder structure that in the main folder I have /source for code files and /resources for resources. Now, I wanted to load a font to the text using "../resources/fonts/RubikDirt-Regular.ttf" but it does not work. It seems like going up the tree is the problem since the absolute path works fine and I've also used relative paths without dots many times before.
Is there any way to go up the hierarchy in the relative path that works with SFML or do I have to redesign the hierarchy?

Pages: [1]