Media.

Previous topic - Next topic

Hatonastick

Maybe I'm forgetting something, but I always thought when you compiled a GLB program, it copied the relevant media into the application folder.  Or am I meant to do it by hand?

By hand is ok, I'm just wondering if I'm getting mixed up is all. :)
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), Samsung Galaxy Tab 2 (4.1.2).
Netbook: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10).
Desktop: Intel i5 Desktop with NVIDIA GeForce GTX 460 (Win 8.1 64-bit).

Kitty Hello

you can access the app directory on windows and linux. But since Mac, iOS and Android, there's different places where to load files from. That's where the "Media" directory comes into game. Just place all media files into this directory for x-platform apps. GLBasic will copy the files when building an app into the distribute-directory, then.
Attention: It might not delete files from there that you deleted in the .app/Media - unless you press the "trashcan " icon - that clears all files in "distribute".

Hatonastick

#2
Edit: Never mind, I think I get it now. :)  If I compile the project for Win32, I get the .app directory and a Media directory inside that.  When I put the media inside the .app\Media, GLB copied it into the Android package.  All works fine now. :)
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), Samsung Galaxy Tab 2 (4.1.2).
Netbook: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10).
Desktop: Intel i5 Desktop with NVIDIA GeForce GTX 460 (Win 8.1 64-bit).