A structure like this:
is the proper Mac OS way. Although I know a lot of applications who don't use this standard.LambdaRogue.app
|
+--Contents
+--Resources
| +--graphics folder
| +--sound folder
| +--data folder
| +--docs folder
| +--saves folder
| +--binary file
|
+--MacOS
+--Executable file
You might want to consider to create an extra helper function, something like:
And load your graphic file with something like:function GetGraphicsPath(): String;
begin
{$IFDEF UNIX}
{$IFDEF DARWIN}
Result := '../Resources/graphics/'
{$ELSE}
Result := 'graphics/';
{$ENDIF}
{$ELSE}
Result := 'graphics\';
{$ENDIF}
end;
LoadAsset(GetGraphicsPath() + 'myImage.png');
Bookmarks