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 / AGK2 android compiler question

Author
Message
EdzUp
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: UK
Posted: 1st Dec 2018 18:54
Does AGK2 go through all the source files looking for media to include in the final version?

I have compiled Star Rogue for android using the compiling thing of AGK2 but it seems to have missed some of the files (Timer.png from One of the includes)
-EdzUp
puzzler2018
User Banned
Posted: 1st Dec 2018 20:06
Yes I beleive it will bring through everything that lives in the Media folder of the app


Just make sure you have the correct filename CAPS and spellings correctly.

Like on Linux - a filename of say \Media\PicTure.PNG would require your internal code to have

LoadImage ( "\Media\PicTure.PNG")

Hope that helps - unless of course its something totally different to what im used to
EdzUp
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: UK
Posted: 1st Dec 2018 20:08
ah OK will check it all out
-EdzUp
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 1st Dec 2018 20:44
It will look in the project folder for all source file and the media folder for all media to append including any subfolders inside the media folder

and as puzzler has mentioned Android is case sensitive and windows is not so because it works in windows doesn't mean it will work in Android
or IOS for that matter
fubar
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 1st Dec 2018 20:53 Edited at: 1st Dec 2018 20:57
If you rename the .apk to .zip you can extract all the files to see what's there

Login to post a reply

Server time is: 2024-04-18 17:55:13
Your offset time is: 2024-04-18 17:55:13