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 / Dark invader png in exe?

Author
Message
theplake
16
Years of Service
User Offline
Joined: 30th Nov 2007
Location:
Posted: 13th Dec 2007 13:28
Can anyone tell me how i can compile the tutorial dark invader Pics(pngs) IN the exe file??

I know, i must put it in resource, but how i can do that??
Fable
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location:
Posted: 7th Feb 2008 19:38
You dont you create a folder in the same place of the .EXE called media or something, then at the start of the dark gdk function call the function setCurrentDirectory(directory), replacing directory with the name of the folder you created earlier. Now all you need to do is put all of your media in that folder making it ever so easy to manage. One last thing, if the tutorial insists on having a resource file then it is propably going to be in the dark gdk folder for you to use.

Login to post a reply

Server time is: 2024-11-19 20:25:07
Your offset time is: 2024-11-19 20:25:07