Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / I have my art in "Art\stuff.bmp"

Author
Message
dogzer
18
Years of Service
User Offline
Joined: 6th Nov 2005
Location:
Posted: 18th Nov 2005 11:15
I have a problem when trying to access my art that it is inside a folder called Art.

I gave it a try putting it on the root of the program.. making it just "stuff.bmp", and it worked that way, as in the image got loaded into the sprite.

How can i make the program load the art when it's in a folder?
dogzer
18
Years of Service
User Offline
Joined: 6th Nov 2005
Location:
Posted: 18th Nov 2005 12:32
It's weird. This is a problem i got with sprites, but not with image loading..
Miguel Melo
18
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 18th Nov 2005 14:37
Make sure you're string is "Art\\image.bmp" (notice the double slash). Single slash in C will treat the following character (in this case i) as a special character, which is not what you want.

Login to post a reply

Server time is: 2024-04-19 11:03:07
Your offset time is: 2024-04-19 11:03:07