So I'm working on a cross platform game and have it compiling just fine on windows and mac. However, I can't figure out how to get the proper path when compiling my xcode project. My game compiles fine but none of my images or other data will load. Can't find the right path. Could someone please help me with this?
Do I need to add all my files in the resources folder? When I do this, if I do "show package contents" in the .app file that's made, I can find the files I added under /Contents/Resources. So from figuring out that, I tried to add /Contents/Resources to the path of my files in my source code but still no go. Anyone have any idea? I found some mention of having to use NSBundle to get the path to the bundle but I'm not sure how to use it...