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 / Sprites on android

Author
Message
greycheek
8
Years of Service
User Offline
Joined: 13th Mar 2016
Location:
Posted: 12th May 2019 21:25
While testing my code on an android device (Amazon Fire tablet), I noticed that some of the sprites in the game do not appear at all. This is not a problem with the same code running on iOS, Mac or PC. I cannot see any obvious difference between the sprites that do appear and the ones that don't, either in the code or with the images used for each sprite. What could be the cause of this issue?
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 12th May 2019 22:19 Edited at: 12th May 2019 22:59
android devices are case sensitive so if the name you use in your app does NOT match the name of the file EXACTLY then it won't load.
eg: LoadImage("FileName.png") will fail to load a file called "filename.png"
greycheek
8
Years of Service
User Offline
Joined: 13th Mar 2016
Location:
Posted: 12th May 2019 23:29
Checked the file names - not the issue. Something else is happening.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 12th May 2019 23:32
Have you tried in on another android device?
greycheek
8
Years of Service
User Offline
Joined: 13th Mar 2016
Location:
Posted: 13th May 2019 00:15
No, but Ill try that.
greycheek
8
Years of Service
User Offline
Joined: 13th Mar 2016
Location:
Posted: 13th May 2019 00:30
blink0k, tried on my son's Samsung phone and it worked beautifully. Don't know what the problem is with Fire tablet.
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 13th May 2019 03:25
may be the version of Android
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 13th May 2019 03:30
Try to uninstall and re-install as well. Also try to broadcast and see what happens there
greycheek
8
Years of Service
User Offline
Joined: 13th Mar 2016
Location:
Posted: 13th May 2019 12:54
Broadcasting is how I'm running on Android; not able to do it another way.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 13th May 2019 23:20
Ok. Try these things
1. Go into your C:\Users\yourid\AppData\Local\AGKApps folder and delete the folder named after your app
2. Uninstall and reinstall the AppGameKit app on your Fire tablet
3. Create and .APK and see if that runs of (If it works ok i would report the issue to TGC)
greycheek
8
Years of Service
User Offline
Joined: 13th Mar 2016
Location:
Posted: 15th May 2019 00:30
Quote: "1. Go into your C:\Users\yourid\AppData\Local\AGKApps folder and delete the folder named after your app"


I'm on a Mac; not sure which corresponding Mac folder you're referring to.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 15th May 2019 00:54
I'm not sure about that either. Did you try 2 and 3?

Login to post a reply

Server time is: 2024-04-26 06:26:16
Your offset time is: 2024-04-26 06:26:16