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.

AppGameKit Classic Chat / Cannot Load Image From A Parent Directory

Author
Message
Serguei Fedorov
9
Years of Service
User Offline
Joined: 19th Dec 2014
Location:
Posted: 19th Dec 2014 17:40 Edited at: 19th Dec 2014 18:07
I am having some trouble loading image files from non-standard locations. For instance, the way I have my project setup is as such:

root
----Source
----Assets
----Apps
------VS2013
---
------OSX

As a result, in order to load assets, I have to do the following:



and to assign the sprite's image



I have also tried the following:



I am however getting the default "no image found" image.

The only way I can get images to load properly is if they are in the same directory as the EXE. This isn't very comfortable since I have multiple project types so the asset have to be outside the VS solution folder (or the XCode directory)

Any help is greatly appreciated!
JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 20th Dec 2014 10:16
you need to put them in a folder called media.

-- Jim - When is there going to be a release?

Login to post a reply

Server time is: 2024-04-19 02:43:38
Your offset time is: 2024-04-19 02:43:38