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 - Cano321

Pages: [1]
1
Graphics / Re: texture.loadFromFile string not working
« on: January 13, 2024, 02:53:53 am »
yup that was the problem. Thanks so much for the help!

2
Graphics / texture.loadFromFile string not working
« on: January 13, 2024, 12:34:35 am »
I'm trying to quickly see if texture loading for my project is working, but I'm having an odd issue. When I try to put in the file into texture.loadFromFile, I get the error file not found, but the file it's saying is not found is not the one I have for the string. For example if I put texture.loadFromFile("test.png"); I get the error "Failed to load image "". Reason: Unable to open file" Even stranger when I used "image.png" I got the error: "Failed to load image "É▒╔.image.png    ╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠". Reason: Unable to open file" And the characters sometimes change when I run it again. Other random strings give similar results.

If anyone knows of a solution help would be greatly appreciated

Pages: [1]
anything